[qet] [3818] Minor: cosmetic change icons

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 3818
Author:   scorpio810
Date:     2015-03-12 15:44:04 +0100 (Thu, 12 Mar 2015)
Log Message:
-----------
Minor: cosmetic change icons

Modified Paths:
--------------
    trunk/ico/128x128/project.png
    trunk/qelectrotech.qrc
    trunk/sources/qetdiagrameditor.cpp
    trunk/sources/qeticons.cpp
    trunk/sources/qeticons.h

Added Paths:
-----------
    trunk/ico/16x16/project-WH-close.png
    trunk/ico/16x16/project-WH-delete.png
    trunk/ico/16x16/project-WH-new.png
    trunk/ico/16x16/project-WH.png
    trunk/ico/22x22/project-WH-close.png
    trunk/ico/22x22/project-WH-delete.png
    trunk/ico/22x22/project-WH-new.png
    trunk/ico/22x22/project-WH.png

Modified: trunk/ico/128x128/project.png
===================================================================
(Binary files differ)

Added: trunk/ico/16x16/project-WH-close.png
===================================================================
(Binary files differ)


Property changes on: trunk/ico/16x16/project-WH-close.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/ico/16x16/project-WH-delete.png
===================================================================
(Binary files differ)


Property changes on: trunk/ico/16x16/project-WH-delete.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/ico/16x16/project-WH-new.png
===================================================================
(Binary files differ)


Property changes on: trunk/ico/16x16/project-WH-new.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/ico/16x16/project-WH.png
===================================================================
(Binary files differ)


Property changes on: trunk/ico/16x16/project-WH.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/ico/22x22/project-WH-close.png
===================================================================
(Binary files differ)


Property changes on: trunk/ico/22x22/project-WH-close.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/ico/22x22/project-WH-delete.png
===================================================================
(Binary files differ)


Property changes on: trunk/ico/22x22/project-WH-delete.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/ico/22x22/project-WH-new.png
===================================================================
(Binary files differ)


Property changes on: trunk/ico/22x22/project-WH-new.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/ico/22x22/project-WH.png
===================================================================
(Binary files differ)


Property changes on: trunk/ico/22x22/project-WH.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Modified: trunk/qelectrotech.qrc
===================================================================
--- trunk/qelectrotech.qrc	2015-03-11 21:18:05 UTC (rev 3817)
+++ trunk/qelectrotech.qrc	2015-03-12 14:44:04 UTC (rev 3818)
@@ -233,5 +233,13 @@
         <file>ico/22x22/autoconnect.png</file>
         <file>ico/128x128/project.png</file>
         <file>ico/22x22/qelectrotab-into.png</file>
+        <file>ico/16x16/project-WH-new.png</file>
+        <file>ico/16x16/project-WH-delete.png</file>
+        <file>ico/16x16/project-WH-close.png</file>
+        <file>ico/16x16/project-WH.png</file>
+        <file>ico/22x22/project-WH-new.png</file>
+        <file>ico/22x22/project-WH-delete.png</file>
+        <file>ico/22x22/project-WH-close.png</file>
+        <file>ico/22x22/project-WH.png</file>
     </qresource>
 </RCC>

Modified: trunk/sources/qetdiagrameditor.cpp
===================================================================
--- trunk/sources/qetdiagrameditor.cpp	2015-03-11 21:18:05 UTC (rev 3817)
+++ trunk/sources/qetdiagrameditor.cpp	2015-03-12 14:44:04 UTC (rev 3818)
@@ -214,11 +214,11 @@
 	prev_window       = new QAction(                                   tr("Projet précédent"),                     this);
 
 	///Files action///
-	QAction *new_file  = m_file_actions_group.addAction( QET::Icons::DocumentNew,     tr("&Nouveau")						  );
+	QAction *new_file  = m_file_actions_group.addAction( QET::Icons::ProjectNew,     tr("&Nouveau")						  );
 	QAction *open_file = m_file_actions_group.addAction( QET::Icons::DocumentOpen,    tr("&Ouvrir")							  );
 	save_file          = m_file_actions_group.addAction( QET::Icons::DocumentSave,    tr("&Enregistrer")					  );
 	save_file_as       = m_file_actions_group.addAction( QET::Icons::DocumentSaveAs,  tr("Enregistrer sous")				  );
-	close_file         = m_file_actions_group.addAction( QET::Icons::DocumentClose,   tr("&Fermer")							  );
+	close_file         = m_file_actions_group.addAction( QET::Icons::ProjectClose,   tr("&Fermer")							  );
 
 	new_file   -> setShortcut( QKeySequence::New   );
 	open_file  -> setShortcut( QKeySequence::Open  );

Modified: trunk/sources/qeticons.cpp
===================================================================
--- trunk/sources/qeticons.cpp	2015-03-11 21:18:05 UTC (rev 3817)
+++ trunk/sources/qeticons.cpp	2015-03-12 14:44:04 UTC (rev 3818)
@@ -126,6 +126,8 @@
 		QIcon PrintPortrait;
 		QIcon PrintTwoPages;
 		QIcon Project;
+		QIcon ProjectClose;
+		QIcon ProjectNew;
 		QIcon Projects;
 		QIcon ProjectFile;
 		QIcon QETIcon;
@@ -359,6 +361,10 @@
 	PrintPortrait       .addFile(":/ico/22x22/portrait.png");
 	PrintTwoPages       .addFile(":/ico/22x22/two_pages.png");
 	Projects            .addFile(":/ico/128x128/project.png");
+	ProjectClose        .addFile(":/ico/16x16/project-WH-close.png");
+	ProjectClose        .addFile(":/ico/22x22/project-WH-close.png");
+	ProjectNew          .addFile(":/ico/16x16/project-WH-new.png");
+	ProjectNew          .addFile(":/ico/22x22/project-WH-new.png");
 	ProjectFile         .addFile(":/ico/oxygen-icons/16x16/mimetypes/application-x-qet-project.png");
 	ProjectFile         .addFile(":/ico/oxygen-icons/22x22/mimetypes/application-x-qet-project.png");
 	ProjectFile         .addFile(":/ico/oxygen-icons/32x32/mimetypes/application-x-qet-project.png");

Modified: trunk/sources/qeticons.h
===================================================================
--- trunk/sources/qeticons.h	2015-03-11 21:18:05 UTC (rev 3817)
+++ trunk/sources/qeticons.h	2015-03-12 14:44:04 UTC (rev 3818)
@@ -135,8 +135,10 @@
 		extern QIcon PrintPortrait;
 		extern QIcon PrintTwoPages;
 		extern QIcon Project;
+		extern QIcon ProjectClose;
+		extern QIcon ProjectFile;
+		extern QIcon ProjectNew;
 		extern QIcon Projects;
-		extern QIcon ProjectFile;
 		extern QIcon QETIcon;
 		extern QIcon QETLogo;
 		extern QIcon QETOxygenLogo;


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/