[vlmc-devel] commit: Adding icons for remaining actions. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Tue Jul 20 00:11:14 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Tue Jul 20 00:06:44 2010 +0200| [099e7aeca1531d58c5b10c44aa274a6497b1ebe7] | committer: Hugo Beauzée-Luyssen 

Adding icons for remaining actions.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=099e7aeca1531d58c5b10c44aa274a6497b1ebe7
---

 resources.qrc              |    4 ++++
 resources/images/about.png |  Bin 0 -> 1491 bytes
 resources/images/close.png |  Bin 0 -> 1530 bytes
 resources/images/exit.png  |  Bin 0 -> 1760 bytes
 resources/images/help.png  |  Bin 0 -> 2120 bytes
 src/Gui/ui/MainWindow.ui   |   16 ++++++++++++++++
 6 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/resources.qrc b/resources.qrc
index 02c7eb2..344caf2 100644
--- a/resources.qrc
+++ b/resources.qrc
@@ -45,6 +45,10 @@
         <file alias="render-file">resources/images/render-file.png</file>
         <file alias="project-preferences">resources/images/project-preferences.png</file>
         <file alias="fullscreen">resources/images/fullscreen.png</file>
+        <file alias="exit">resources/images/exit.png</file>
+        <file alias="close">resources/images/close.png</file>
+        <file alias="help">resources/images/help.png</file>
+        <file alias="about">resources/images/about.png</file>
     </qresource>
     <qresource prefix="/text">
         <file>AUTHORS</file>
diff --git a/resources/images/about.png b/resources/images/about.png
new file mode 100644
index 0000000..2658cca
Binary files /dev/null and b/resources/images/about.png differ
diff --git a/resources/images/close.png b/resources/images/close.png
new file mode 100644
index 0000000..23b0947
Binary files /dev/null and b/resources/images/close.png differ
diff --git a/resources/images/exit.png b/resources/images/exit.png
new file mode 100644
index 0000000..dd76354
Binary files /dev/null and b/resources/images/exit.png differ
diff --git a/resources/images/help.png b/resources/images/help.png
new file mode 100644
index 0000000..8a9eb1a
Binary files /dev/null and b/resources/images/help.png differ
diff --git a/src/Gui/ui/MainWindow.ui b/src/Gui/ui/MainWindow.ui
index d889bb9..7cd896e 100644
--- a/src/Gui/ui/MainWindow.ui
+++ b/src/Gui/ui/MainWindow.ui
@@ -118,11 +118,19 @@
    <addaction name="actionFullscreen"/>
   </widget>
   <action name="actionAbout">
+   <property name="icon">
+    <iconset resource="../../../resources.qrc">
+     <normaloff>:/images/about</normaloff>:/images/about</iconset>
+   </property>
    <property name="text">
     <string>&amp;About</string>
    </property>
   </action>
   <action name="actionHelp">
+   <property name="icon">
+    <iconset resource="../../../resources.qrc">
+     <normaloff>:/images/help</normaloff>:/images/help</iconset>
+   </property>
    <property name="text">
     <string>Help</string>
    </property>
@@ -264,6 +272,10 @@
    </property>
   </action>
   <action name="actionClose_Project">
+   <property name="icon">
+    <iconset resource="../../../resources.qrc">
+     <normaloff>:/images/close</normaloff>:/images/close</iconset>
+   </property>
    <property name="text">
     <string>&amp;Close Project</string>
    </property>
@@ -304,6 +316,10 @@
    </property>
   </action>
   <action name="actionQuit">
+   <property name="icon">
+    <iconset resource="../../../resources.qrc">
+     <normaloff>:/images/exit</normaloff>:/images/exit</iconset>
+   </property>
    <property name="text">
     <string>&amp;Quit</string>
    </property>



More information about the Vlmc-devel mailing list