diff --git a/CMakeLists.txt b/CMakeLists.txt index ff15c81..df08e23 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1041,6 +1041,7 @@ add_executable (js8call MACOSX_BUNDLE wsjtx.rc ${WSJTX_ICON_FILE} ${wsjtx_RESOURCES_RCC} + images.qrc ) if (WSJT_CREATE_WINMAIN) diff --git a/images.qrc b/images.qrc new file mode 100644 index 0000000..f215a51 --- /dev/null +++ b/images.qrc @@ -0,0 +1,6 @@ + + + artwork/up.png + artwork/down.png + + diff --git a/js8call.pro b/js8call.pro index 722e710..ace9de8 100644 --- a/js8call.pro +++ b/js8call.pro @@ -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 diff --git a/mainwindow.ui b/mainwindow.ui index b66185a..551ccf3 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -255,8 +255,22 @@ 30 + + false + + + QPushButton { + background-color:#000; + background-image:url("/images/up.png"); + background-position: center center; + background-repeate:no-repeat; +} + - ^ + + + + true @@ -268,8 +282,19 @@ 30 + + QPushButton { + background-color:#000; + background-image:url("/images/down.png"); + background-position: center center; + background-repeate:no-repeat; +} + - v + + + + true