[qet] [3820] Minor: cosmetic change icons

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


Revision: 3820
Author:   scorpio810
Date:     2015-03-12 16:31:41 +0100 (Thu, 12 Mar 2015)
Log Message:
-----------
Minor: cosmetic change icons

Modified Paths:
--------------
    trunk/qelectrotech.qrc
    trunk/sources/projectview.cpp
    trunk/sources/qeticons.cpp
    trunk/sources/qeticons.h

Added Paths:
-----------
    trunk/ico/16x16/folio-new.png

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


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

Modified: trunk/qelectrotech.qrc
===================================================================
--- trunk/qelectrotech.qrc	2015-03-12 15:15:32 UTC (rev 3819)
+++ trunk/qelectrotech.qrc	2015-03-12 15:31:41 UTC (rev 3820)
@@ -241,5 +241,6 @@
         <file>ico/22x22/project-WH-delete.png</file>
         <file>ico/22x22/project-WH-close.png</file>
         <file>ico/22x22/project-WH.png</file>
+        <file>ico/16x16/folio-new.png</file>
     </qresource>
 </RCC>

Modified: trunk/sources/projectview.cpp
===================================================================
--- trunk/sources/projectview.cpp	2015-03-12 15:15:32 UTC (rev 3819)
+++ trunk/sources/projectview.cpp	2015-03-12 15:31:41 UTC (rev 3820)
@@ -750,7 +750,7 @@
 	Initialize actions for this widget.
 */
 void ProjectView::initActions() {
-	add_new_diagram_ = new QAction(QET::Icons::Add, tr("Ajouter un schéma"), this);
+	add_new_diagram_ = new QAction(QET::Icons::AddFolio, tr("Ajouter un schéma"), this);
 	connect(add_new_diagram_, SIGNAL(triggered()), this, SLOT(addNewDiagram()));
 }
 
@@ -759,7 +759,7 @@
 */
 void ProjectView::initWidgets() {
 	setObjectName("ProjectView");
-	setWindowIcon(QET::Icons::ProjectFile);
+	setWindowIcon(QET::Icons::ProjectFileGP);
 	
 	// initialize the "fallback" widget
 	fallback_widget_ = new QWidget();

Modified: trunk/sources/qeticons.cpp
===================================================================
--- trunk/sources/qeticons.cpp	2015-03-12 15:15:32 UTC (rev 3819)
+++ trunk/sources/qeticons.cpp	2015-03-12 15:31:41 UTC (rev 3820)
@@ -22,6 +22,7 @@
 namespace QET {
 	namespace Icons {
 		QIcon Add;
+		QIcon AddFolio;
 		QIcon Allowed;
 		QIcon ApplicationExit;
 		QIcon ArrowLeft;
@@ -193,6 +194,7 @@
 	
 	Add                 .addFile(":/ico/16x16/list-add.png");
 	Add                 .addFile(":/ico/22x22/list-add.png");
+	AddFolio            .addFile(":/ico/16x16/folio-new.png");
 	Allowed             .addFile(":/ico/16x16/user-online.png");
 	ApplicationExit     .addFile(":/ico/16x16/application-exit.png");
 	ApplicationExit     .addFile(":/ico/22x22/application-exit.png");

Modified: trunk/sources/qeticons.h
===================================================================
--- trunk/sources/qeticons.h	2015-03-12 15:15:32 UTC (rev 3819)
+++ trunk/sources/qeticons.h	2015-03-12 15:31:41 UTC (rev 3820)
@@ -29,6 +29,7 @@
 		// using the extern keyword enables access to static objects from outside the
 		// namespace
 		extern QIcon Add;
+		extern QIcon AddFolio;
 		extern QIcon Allowed;
 		extern QIcon ApplicationExit;
 		extern QIcon ArrowLeft;


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