Add some icons.
authorZack Rusin <zack@kde.org>
Fri, 1 Apr 2011 04:58:36 +0000 (00:58 -0400)
committerZack Rusin <zack@kde.org>
Fri, 1 Apr 2011 04:58:36 +0000 (00:58 -0400)
gui/CMakeLists.txt
gui/qapitrace.qrc [new file with mode: 0644]
gui/resources/application-exit.png [new file with mode: 0644]
gui/resources/dialog-information.png [new file with mode: 0644]
gui/resources/document-open.png [new file with mode: 0644]
gui/resources/media-playback-start.png [new file with mode: 0644]
gui/resources/media-playback-stop.png [new file with mode: 0644]
gui/resources/media-record.png [new file with mode: 0644]
gui/ui/mainwindow.ui

index acecf9e..14e9e96 100644 (file)
@@ -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 (file)
index 0000000..ea3f168
--- /dev/null
@@ -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 (file)
index 0000000..dd76354
Binary files /dev/null and b/gui/resources/application-exit.png differ
diff --git a/gui/resources/dialog-information.png b/gui/resources/dialog-information.png
new file mode 100644 (file)
index 0000000..ee59e17
Binary files /dev/null and b/gui/resources/dialog-information.png differ
diff --git a/gui/resources/document-open.png b/gui/resources/document-open.png
new file mode 100644 (file)
index 0000000..7422ad3
Binary files /dev/null and b/gui/resources/document-open.png differ
diff --git a/gui/resources/media-playback-start.png b/gui/resources/media-playback-start.png
new file mode 100644 (file)
index 0000000..7190685
Binary files /dev/null and b/gui/resources/media-playback-start.png differ
diff --git a/gui/resources/media-playback-stop.png b/gui/resources/media-playback-stop.png
new file mode 100644 (file)
index 0000000..650874f
Binary files /dev/null and b/gui/resources/media-playback-stop.png differ
diff --git a/gui/resources/media-record.png b/gui/resources/media-record.png
new file mode 100644 (file)
index 0000000..f926a8f
Binary files /dev/null and b/gui/resources/media-record.png differ
index d8b0b5f..d4bea82 100644 (file)
   </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>
   </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>
     <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>
     <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>
    <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>
    <header>QtWebKit/QWebView</header>
   </customwidget>
  </customwidgets>
- <resources/>
+ <resources>
+  <include location="../qapitrace.qrc"/>
+ </resources>
  <connections/>
 </ui>