summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Rusin <zack@kde.org>2011-04-01 00:58:36 -0400
committerZack Rusin <zack@kde.org>2011-04-01 00:58:36 -0400
commit912301e348caf5f83d7c3c3646742b20879c038f (patch)
tree9a1f7e0627097315d0bc78cd8eb580dd94a59b73
parent0d0e0bf690d78f5fd768b15497cc2ca5aa79976d (diff)
Add some icons.
-rw-r--r--gui/CMakeLists.txt2
-rw-r--r--gui/qapitrace.qrc10
-rw-r--r--gui/resources/application-exit.pngbin0 -> 1760 bytes
-rw-r--r--gui/resources/dialog-information.pngbin0 -> 1636 bytes
-rw-r--r--gui/resources/document-open.pngbin0 -> 1088 bytes
-rw-r--r--gui/resources/media-playback-start.pngbin0 -> 1177 bytes
-rw-r--r--gui/resources/media-playback-stop.pngbin0 -> 1165 bytes
-rw-r--r--gui/resources/media-record.pngbin0 -> 1843 bytes
-rw-r--r--gui/ui/mainwindow.ui28
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
new file mode 100644
index 00000000..dd76354c
--- /dev/null
+++ b/gui/resources/application-exit.png
Binary files differ
diff --git a/gui/resources/dialog-information.png b/gui/resources/dialog-information.png
new file mode 100644
index 00000000..ee59e170
--- /dev/null
+++ b/gui/resources/dialog-information.png
Binary files differ
diff --git a/gui/resources/document-open.png b/gui/resources/document-open.png
new file mode 100644
index 00000000..7422ad33
--- /dev/null
+++ b/gui/resources/document-open.png
Binary files differ
diff --git a/gui/resources/media-playback-start.png b/gui/resources/media-playback-start.png
new file mode 100644
index 00000000..71906857
--- /dev/null
+++ b/gui/resources/media-playback-start.png
Binary files differ
diff --git a/gui/resources/media-playback-stop.png b/gui/resources/media-playback-stop.png
new file mode 100644
index 00000000..650874f6
--- /dev/null
+++ b/gui/resources/media-playback-stop.png
Binary files differ
diff --git a/gui/resources/media-record.png b/gui/resources/media-record.png
new file mode 100644
index 00000000..f926a8f2
--- /dev/null
+++ b/gui/resources/media-record.png
Binary files differ
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>&amp;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>&amp;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>&amp;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>&amp;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>