diff options
-rw-r--r-- | gui/CMakeLists.txt | 2 | ||||
-rw-r--r-- | gui/qapitrace.qrc | 10 | ||||
-rw-r--r-- | gui/resources/application-exit.png | bin | 0 -> 1760 bytes | |||
-rw-r--r-- | gui/resources/dialog-information.png | bin | 0 -> 1636 bytes | |||
-rw-r--r-- | gui/resources/document-open.png | bin | 0 -> 1088 bytes | |||
-rw-r--r-- | gui/resources/media-playback-start.png | bin | 0 -> 1177 bytes | |||
-rw-r--r-- | gui/resources/media-playback-stop.png | bin | 0 -> 1165 bytes | |||
-rw-r--r-- | gui/resources/media-record.png | bin | 0 -> 1843 bytes | |||
-rw-r--r-- | gui/ui/mainwindow.ui | 28 |
9 files changed, 27 insertions, 13 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index acecf9e4..14e9e96f 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -11,6 +11,8 @@ set(qapitrace_SRCS qt4_automoc(${qapitrace_SRCS}) +qt4_add_resources(qapitrace_SRCS qapitrace.qrc) + set(qapitrace_UIS ui/mainwindow.ui) diff --git a/gui/qapitrace.qrc b/gui/qapitrace.qrc new file mode 100644 index 00000000..ea3f168e --- /dev/null +++ b/gui/qapitrace.qrc @@ -0,0 +1,10 @@ +<!DOCTYPE RCC><RCC version="1.0"> +<qresource> + <file>resources/application-exit.png</file> + <file>resources/dialog-information.png</file> + <file>resources/document-open.png</file> + <file>resources/media-playback-start.png</file> + <file>resources/media-playback-stop.png</file> + <file>resources/media-record.png</file> +</qresource> +</RCC> diff --git a/gui/resources/application-exit.png b/gui/resources/application-exit.png Binary files differnew file mode 100644 index 00000000..dd76354c --- /dev/null +++ b/gui/resources/application-exit.png diff --git a/gui/resources/dialog-information.png b/gui/resources/dialog-information.png Binary files differnew file mode 100644 index 00000000..ee59e170 --- /dev/null +++ b/gui/resources/dialog-information.png diff --git a/gui/resources/document-open.png b/gui/resources/document-open.png Binary files differnew file mode 100644 index 00000000..7422ad33 --- /dev/null +++ b/gui/resources/document-open.png diff --git a/gui/resources/media-playback-start.png b/gui/resources/media-playback-start.png Binary files differnew file mode 100644 index 00000000..71906857 --- /dev/null +++ b/gui/resources/media-playback-start.png diff --git a/gui/resources/media-playback-stop.png b/gui/resources/media-playback-stop.png Binary files differnew file mode 100644 index 00000000..650874f6 --- /dev/null +++ b/gui/resources/media-playback-stop.png diff --git a/gui/resources/media-record.png b/gui/resources/media-record.png Binary files differnew file mode 100644 index 00000000..f926a8f2 --- /dev/null +++ b/gui/resources/media-record.png diff --git a/gui/ui/mainwindow.ui b/gui/ui/mainwindow.ui index d8b0b5fa..d4bea826 100644 --- a/gui/ui/mainwindow.ui +++ b/gui/ui/mainwindow.ui @@ -160,9 +160,8 @@ </action> <action name="actionOpen"> <property name="icon"> - <iconset> - <normaloff/> - </iconset> + <iconset resource="../qapitrace.qrc"> + <normaloff>:/resources/document-open.png</normaloff>:/resources/document-open.png</iconset> </property> <property name="text"> <string>&Open...</string> @@ -173,9 +172,8 @@ </action> <action name="actionQuit"> <property name="icon"> - <iconset> - <normaloff/> - </iconset> + <iconset resource="../qapitrace.qrc"> + <normaloff>:/resources/application-exit.png</normaloff>:/resources/application-exit.png</iconset> </property> <property name="text"> <string>&Quit</string> @@ -195,9 +193,8 @@ <bool>false</bool> </property> <property name="icon"> - <iconset> - <normaloff/> - </iconset> + <iconset resource="../qapitrace.qrc"> + <normaloff>:/resources/media-playback-start.png</normaloff>:/resources/media-playback-start.png</iconset> </property> <property name="text"> <string>&Replay</string> @@ -208,9 +205,8 @@ <bool>false</bool> </property> <property name="icon"> - <iconset> - <normaloff/> - </iconset> + <iconset resource="../qapitrace.qrc"> + <normaloff>:/resources/media-playback-stop.png</normaloff>:/resources/media-playback-stop.png</iconset> </property> <property name="text"> <string>&Stop</string> @@ -220,6 +216,10 @@ <property name="enabled"> <bool>false</bool> </property> + <property name="icon"> + <iconset resource="../qapitrace.qrc"> + <normaloff>:/resources/media-record.png</normaloff>:/resources/media-record.png</iconset> + </property> <property name="text"> <string>Lookup State</string> </property> @@ -232,6 +232,8 @@ <header>QtWebKit/QWebView</header> </customwidget> </customwidgets> - <resources/> + <resources> + <include location="../qapitrace.qrc"/> + </resources> <connections/> </ui> |