Added images for dial control

This commit is contained in:
Jordan Sherer 2019-12-27 14:56:14 -05:00
parent fc084dca59
commit 921ab2202d
4 changed files with 36 additions and 3 deletions

View File

@ -1041,6 +1041,7 @@ add_executable (js8call MACOSX_BUNDLE
wsjtx.rc
${WSJTX_ICON_FILE}
${wsjtx_RESOURCES_RCC}
images.qrc
)
if (WSJT_CREATE_WINMAIN)

6
images.qrc Normal file
View File

@ -0,0 +1,6 @@
<RCC>
<qresource prefix="/images">
<file alias="up.png">artwork/up.png</file>
<file alias="down.png">artwork/down.png</file>
</qresource>
</RCC>

View File

@ -149,7 +149,8 @@ FORMS += mainwindow.ui about.ui Configuration.ui widegraph.ui astro.ui \
messagewindow.ui
RC_FILE = wsjtx.rc
RESOURCES = wsjtx.qrc
RESOURCES = wsjtx.qrc \
images.qrc
unix {
LIBS += -L lib -ljt9

View File

@ -255,8 +255,22 @@
<height>30</height>
</size>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
background-color:#000;
background-image:url(&quot;/images/up.png&quot;);
background-position: center center;
background-repeate:no-repeat;
}</string>
</property>
<property name="text">
<string>^</string>
<string/>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
@ -268,8 +282,19 @@
<height>30</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
background-color:#000;
background-image:url(&quot;/images/down.png&quot;);
background-position: center center;
background-repeate:no-repeat;
}</string>
</property>
<property name="text">
<string>v</string>
<string/>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>