Avidemux Forum

Participate => User interface and Usability => Topic started by: Setsunaaa on June 23, 2012, 07:59:38 AM

Title: different icons for "save video" and "save project"
Post by: Setsunaaa on June 23, 2012, 07:59:38 AM
different icons for "save video" and "save project".
So I don't have to use the File menu to actually know which is which.

The "save project" icon: add a paper symbol to the lower right of the icon.
The "save video" icon: add a film symbol to the lower right of the icon.
Title: Re: different icons for "save video" and "save project"
Post by: Jan Gruuthuse on June 23, 2012, 08:08:42 AM
in QT:
(https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fwww.avidemux.org%2FadmWiki%2Flib%2Fexe%2Ffetch.php%3Fmedia%3Dusing%3Atoolbar-qt.png&hash=36949a894d22c7e494fb33d2d17dc423ea60db07)

(https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fwww.avidemux.org%2FadmWiki%2Flib%2Fexe%2Fdetail.php%3Fid%3Dusing%253Amain_window_-_qt_version%26amp%3Bmedia%3Dusing%3Abutton_save-qt.png&hash=a40f057e3b82be0daefbf773490c6bae4e5ef230)2nd icon = Save a video file
5th icon = Save a project
or use the same green folder from the load and run a project icon:
(https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fwww.avidemux.org%2FadmWiki%2Flib%2Fexe%2Ffetch.php%3Fmedia%3Dusing%3Abutton_load_project-qt.png&hash=9ec1152c8d6c5eb4e1735c90431b7be8866b3d1a)
on the floppy icon for save project file.
some distinction would be nice ;)
Title: Re: different icons for "save video" and "save project"
Post by: Setsunaaa on June 23, 2012, 08:22:24 AM
When i work fast i mix up those two icons regularly and hit the wrong one way too often. Quite annoying when you accidentally kill your custom preset settings.
Title: Re: different icons for "save video" and "save project"
Post by: ratte on July 03, 2012, 07:59:42 AM
The pictures of the icons are only 22x22, so it's not so easy. Nevertheless here are two suggestions (see the attachments). I've used the upper left edge instead of the lower right, because saving means putting something onto the floppy.

After copying these files to avidemux/qt4/ADM_userInterface/ADM_gui/pics following patch should use them:
Index: avidemux/qt4/ADM_userInterfaces/ADM_gui/gui2.ui
===================================================================
--- avidemux/qt4/ADM_userInterfaces/ADM_gui/gui2.ui (Revision 8033)
+++ avidemux/qt4/ADM_userInterfaces/ADM_gui/gui2.ui (Arbeitskopie)
@@ -1581,7 +1581,7 @@
   <action name="actionSave_video">
    <property name="icon">
     <iconset resource="avidemux.qrc">
-     <normaloff>:/new/prefix1/pics/filesave.png</normaloff>:/new/prefix1/pics/filesave.png</iconset>
+     <normaloff>:/new/prefix1/pics/videofilesave.png</normaloff>:/new/prefix1/pics/videofilesave.png</iconset>
    </property>
    <property name="text">
     <string>Save &amp;Video...</string>
@@ -1611,7 +1611,7 @@
   <action name="actionSave_project">
    <property name="icon">
     <iconset resource="avidemux.qrc">
-     <normaloff>:/new/prefix1/pics/filesave.png</normaloff>:/new/prefix1/pics/filesave.png</iconset>
+     <normaloff>:/new/prefix1/pics/projectfilesave.png</normaloff>:/new/prefix1/pics/projectfilesave.png</iconset>
    </property>
    <property name="text">
     <string>Save &amp;Project</string>
Index: avidemux/qt4/ADM_userInterfaces/ADM_gui/avidemux.qrc
===================================================================
--- avidemux/qt4/ADM_userInterfaces/ADM_gui/avidemux.qrc (Revision 8033)
+++ avidemux/qt4/ADM_userInterfaces/ADM_gui/avidemux.qrc (Arbeitskopie)
@@ -1,5 +1,5 @@
<RCC>
-    <qresource prefix="/new/prefix1" >
+    <qresource prefix="/new/prefix1">
         <file>pics/add_sub_task.png</file>
         <file>pics/arts.png</file>
         <file>pics/avidemux_icon_small.png</file>
@@ -32,5 +32,7 @@
         <file>pics/project_open.png</file>
         <file>pics/thumbnail.png</file>
         <file>pics/volume.png</file>
+        <file>pics/videofilesave.png</file>
+        <file>pics/projectfilesave.png</file>
     </qresource>
</RCC>

I've tested the patch with r8033 up to r8041. It works and looks nice.