[qet] qet/qet: [5119] icon theme: add new icons in element editor

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


Revision: 5119
Author:   nuri
Date:     2017-11-27 21:27:49 +0100 (Mon, 27 Nov 2017)
Log Message:
-----------
icon theme: add new icons in element editor

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

Added Paths:
-----------
    trunk/ico/16x16/run-dxf.png
    trunk/ico/22x22/folder-open.png

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

Index: trunk/ico/16x16/run-dxf.png
===================================================================
--- trunk/ico/16x16/run-dxf.png	2017-11-27 19:43:02 UTC (rev 5118)
+++ trunk/ico/16x16/run-dxf.png	2017-11-27 20:27:49 UTC (rev 5119)

Property changes on: trunk/ico/16x16/run-dxf.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/ico/22x22/folder-open.png
===================================================================
(Binary files differ)

Index: trunk/ico/22x22/folder-open.png
===================================================================
--- trunk/ico/22x22/folder-open.png	2017-11-27 19:43:02 UTC (rev 5118)
+++ trunk/ico/22x22/folder-open.png	2017-11-27 20:27:49 UTC (rev 5119)

Property changes on: trunk/ico/22x22/folder-open.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: trunk/qelectrotech.qrc
===================================================================
--- trunk/qelectrotech.qrc	2017-11-27 19:43:02 UTC (rev 5118)
+++ trunk/qelectrotech.qrc	2017-11-27 20:27:49 UTC (rev 5119)
@@ -578,5 +578,7 @@
         <file>ico/16x16/go-down-double.png</file>
         <file>ico/16x16/go-top.png</file>
         <file>ico/16x16/go-bottom.png</file>
+        <file>ico/16x16/run-dxf.png</file>
+        <file>ico/22x22/folder-open.png</file>
     </qresource>
 </RCC>

Modified: trunk/sources/editor/qetelementeditor.cpp
===================================================================
--- trunk/sources/editor/qetelementeditor.cpp	2017-11-27 19:43:02 UTC (rev 5118)
+++ trunk/sources/editor/qetelementeditor.cpp	2017-11-27 20:27:49 UTC (rev 5119)
@@ -140,9 +140,9 @@
  */
 void QETElementEditor::setupActions() {
 	new_element       = new QAction(QET::Icons::DocumentNew,          tr("&Nouveau"),                                  this);
-	open              = new QAction(QET::Icons::DocumentOpen,         tr("&Ouvrir"),                                   this);
-	open_file         = new QAction(QET::Icons::DocumentOpen,         tr("&Ouvrir depuis un fichier"),                 this);
-	open_dxf          = new QAction(QET::Icons::DocumentOpen,         tr("&Lancer le plugin convertisseur DXF"),       this);
+    open              = new QAction(QET::Icons::FolderOpen,         tr("&Ouvrir"),                                   this);
+    open_file         = new QAction(QET::Icons::FolderOpen,         tr("&Ouvrir depuis un fichier"),                 this);
+    open_dxf          = new QAction(QET::Icons::RunDxf,         tr("&Lancer le plugin convertisseur DXF"),       this);
 	save              = new QAction(QET::Icons::DocumentSave,         tr("&Enregistrer"),                              this);
 	save_as           = new QAction(QET::Icons::DocumentSaveAs,       tr("Enregistrer sous"),                          this);
 	save_as_file      = new QAction(QET::Icons::DocumentSaveAs,       tr("Enregistrer dans un fichier"),               this);

Modified: trunk/sources/qeticons.cpp
===================================================================
--- trunk/sources/qeticons.cpp	2017-11-27 19:43:02 UTC (rev 5118)
+++ trunk/sources/qeticons.cpp	2017-11-27 20:27:49 UTC (rev 5119)
@@ -151,6 +151,7 @@
 		QIcon Raise;
 		QIcon Remove;
 		QIcon Restore;
+        QIcon RunDxf;
 		QIcon SendBackward;
 		QIcon Settings;
 		QIcon SinglePage;
@@ -357,6 +358,7 @@
 	FolderNew           .addFile(":/ico/22x22/folder-new.png");
     FolderOnlyThis      .addFile(":/ico/16x16/folder-only-this.png");
     FolderOpen          .addFile(":/ico/16x16/folder-open.png");
+    FolderOpen          .addFile(":/ico/22x22/folder-open.png");
     FolderProperties    .addFile(":/ico/16x16/folder-properties.png");
     FolderShowAll       .addFile(":/ico/16x16/folder-show-all.png");
 	Forbidden           .addFile(":/ico/16x16/user-busy.png");
@@ -438,6 +440,7 @@
 	Remove              .addFile(":/ico/22x22/list-remove.png");
 	resize_image        .addFile(":/ico/22x22/transform-scale.png");
 	Restore             .addFile(":/ico/22x22/restaurer.png");
+    RunDxf              .addFile(":/ico/16x16/run-dxf.png");
 	SendBackward        .addFile(":/ico/22x22/send_backward.png");
 	Settings            .addFile(":/ico/128x128/settings.png");
 	SinglePage          .addFile(":/ico/22x22/single_page.png");

Modified: trunk/sources/qeticons.h
===================================================================
--- trunk/sources/qeticons.h	2017-11-27 19:43:02 UTC (rev 5118)
+++ trunk/sources/qeticons.h	2017-11-27 20:27:49 UTC (rev 5119)
@@ -158,8 +158,9 @@
 		extern QIcon QtLogo;
 		extern QIcon Raise;
 		extern QIcon Remove;
-		extern QIcon Restore;
-		extern QIcon SendBackward;
+        extern QIcon Restore;
+        extern QIcon RunDxf;
+        extern QIcon SendBackward;
 		extern QIcon Settings;
 		extern QIcon SinglePage;
 		extern QIcon South;


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