mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 21:03:17 +02:00
Change pt to px to solve the Windows font size issue
This commit is contained in:
parent
5801ea2011
commit
a69c6f8e29
2 changed files with 14 additions and 14 deletions
|
@ -23,7 +23,7 @@ ScriptsTableWidget::ScriptsTableWidget(QWidget* parent) :
|
||||||
setShowGrid(false);
|
setShowGrid(false);
|
||||||
setSelectionMode(QAbstractItemView::NoSelection);
|
setSelectionMode(QAbstractItemView::NoSelection);
|
||||||
setEditTriggers(QAbstractItemView::NoEditTriggers);
|
setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||||
setStyleSheet("QTableWidget { background: transparent; color: #333333; } QToolTip { color: #000000; background: #f9f6e4; padding: 2px; }");
|
setStyleSheet("QTableWidget { border: none; background: transparent; color: #333333; } QToolTip { color: #000000; background: #f9f6e4; padding: 2px; }");
|
||||||
setToolTipDuration(200);
|
setToolTipDuration(200);
|
||||||
setWordWrap(true);
|
setWordWrap(true);
|
||||||
setGeometry(0, 0, parent->width(), parent->height());
|
setGeometry(0, 0, parent->width(), parent->height());
|
||||||
|
|
|
@ -25,18 +25,18 @@ QWidget {
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>37</x>
|
<x>37</x>
|
||||||
<y>29</y>
|
<y>20</y>
|
||||||
<width>251</width>
|
<width>251</width>
|
||||||
<height>20</height>
|
<height>31</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">color: #0e7077;
|
<string notr="true">color: #0e7077;
|
||||||
font-size: 20pt;
|
font-size: 20px;
|
||||||
background: transparent;</string>
|
background: transparent;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><html><head/><body><p><span style=" font-size:18pt;">Running Scripts</span></p></body></html></string>
|
<string><html><head/><body><p><span style=" font-size:18px;">Running Scripts</span></p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="margin">
|
<property name="margin">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
|
@ -56,7 +56,7 @@ background: transparent;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">color: #0e7077;
|
<string notr="true">color: #0e7077;
|
||||||
font: bold 14pt;
|
font: bold 14px;
|
||||||
background: transparent;</string>
|
background: transparent;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -82,7 +82,7 @@ background: transparent;</string>
|
||||||
<string notr="true">background: #0e7077;
|
<string notr="true">background: #0e7077;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
font: bold 14pt;
|
font: bold 14px;
|
||||||
padding-top: 3px;</string>
|
padding-top: 3px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -105,7 +105,7 @@ padding-top: 3px;</string>
|
||||||
<string notr="true">background: #0e7077;
|
<string notr="true">background: #0e7077;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
font: bold 14pt;
|
font: bold 14px;
|
||||||
padding-top: 3px;</string>
|
padding-top: 3px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -123,7 +123,7 @@ padding-top: 3px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">color: #0e7077;
|
<string notr="true">color: #0e7077;
|
||||||
font: bold 14pt;</string>
|
font: bold 14px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><html><head/><body><p><span style=" font-weight:600;">Recently loaded</span></p></body></html></string>
|
<string><html><head/><body><p><span style=" font-weight:600;">Recently loaded</span></p></body></html></string>
|
||||||
|
@ -140,7 +140,7 @@ font: bold 14pt;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">color: #95a5a6;
|
<string notr="true">color: #95a5a6;
|
||||||
font-size: 14pt;</string>
|
font-size: 14px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>(click a script to load and run it)</string>
|
<string>(click a script to load and run it)</string>
|
||||||
|
@ -184,7 +184,7 @@ font-size: 14pt;</string>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">font: 14pt;</string>
|
<string notr="true">font: 14px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>There are no scripts currently running.</string>
|
<string>There are no scripts currently running.</string>
|
||||||
|
@ -204,7 +204,7 @@ font-size: 14pt;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background: transparent;
|
<string notr="true">background: transparent;
|
||||||
font-size: 14pt;</string>
|
font-size: 14px;</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="runningScriptsTableWidget" native="true">
|
<widget class="QWidget" name="runningScriptsTableWidget" native="true">
|
||||||
|
@ -218,7 +218,7 @@ font-size: 14pt;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background: transparent;
|
<string notr="true">background: transparent;
|
||||||
font-size: 14pt;</string>
|
font-size: 14px;</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QPushButton" name="loadScriptButton">
|
<widget class="QPushButton" name="loadScriptButton">
|
||||||
|
@ -237,7 +237,7 @@ font-size: 14pt;</string>
|
||||||
<string notr="true">background: #0e7077;
|
<string notr="true">background: #0e7077;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
font: bold 14pt;
|
font: bold 14px;
|
||||||
padding-top: 3px;</string>
|
padding-top: 3px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
|
Loading…
Reference in a new issue