[qet] [4639] Minor : add Nuri icon for grid |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4639
Author: scorpio810
Date: 2016-08-19 13:33:23 +0200 (Fri, 19 Aug 2016)
Log Message:
-----------
Minor : add Nuri icon for grid
Modified Paths:
--------------
trunk/qelectrotech.qrc
trunk/sources/qetdiagrameditor.cpp
trunk/sources/qeticons.cpp
trunk/sources/qeticons.h
Added Paths:
-----------
trunk/ico/22x22/grid.png
Added: trunk/ico/22x22/grid.png
===================================================================
(Binary files differ)
Property changes on: trunk/ico/22x22/grid.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/qelectrotech.qrc
===================================================================
--- trunk/qelectrotech.qrc 2016-08-19 11:13:55 UTC (rev 4638)
+++ trunk/qelectrotech.qrc 2016-08-19 11:33:23 UTC (rev 4639)
@@ -247,5 +247,6 @@
<file>ico/22x22/diagram_bg.png</file>
<file>ico/24x16/dk.png</file>
<file>ico/24x16/br.png</file>
+ <file>ico/22x22/grid.png</file>
</qresource>
</RCC>
Modified: trunk/sources/qetdiagrameditor.cpp
===================================================================
--- trunk/sources/qetdiagrameditor.cpp 2016-08-19 11:13:55 UTC (rev 4638)
+++ trunk/sources/qetdiagrameditor.cpp 2016-08-19 11:33:23 UTC (rev 4639)
@@ -277,7 +277,7 @@
this->currentDiagram()->diagram()->update();
});
- m_draw_grid = new QAction (tr("Afficher la grille"), this);
+ m_draw_grid = new QAction ( QET::Icons::Grid, tr("Afficher la grille"), this);
m_draw_grid->setStatusTip(tr("Affiche ou masque la grille des folios"));
m_draw_grid->setCheckable(true);
m_draw_grid->setChecked(true);
Modified: trunk/sources/qeticons.cpp
===================================================================
--- trunk/sources/qeticons.cpp 2016-08-19 11:13:55 UTC (rev 4638)
+++ trunk/sources/qeticons.cpp 2016-08-19 11:33:23 UTC (rev 4639)
@@ -97,6 +97,7 @@
QIcon GoDown;
QIcon GoUp;
QIcon Ground;
+ QIcon Grid;
QIcon Hide;
QIcon Home;
QIcon HotSpot;
@@ -222,8 +223,8 @@
DefaultConductor .addFile(":/ico/22x22/conductor3.png");
DiagramAdd .addFile(":/ico/22x22/diagram_add.png");
Diagram .addFile(":/ico/diagram.png");
- DiagramBg .addFile(":/ico/22x22/diagram_bg.png");
- DiagramDelete .addFile(":/ico/22x22/diagram_del.png");
+ DiagramBg .addFile(":/ico/22x22/diagram_bg.png");
+ DiagramDelete .addFile(":/ico/22x22/diagram_del.png");
DialogCancel .addFile(":/ico/16x16/dialog-cancel.png");
DialogCancel .addFile(":/ico/22x22/dialog-cancel.png");
DialogInformation .addFile(":/ico/22x22/dialog-information.png");
@@ -256,7 +257,7 @@
East .addFile(":/ico/16x16/east.png");
EditClear .addFile(":/ico/16x16/edit-clear.png");
EditClear .addFile(":/ico/22x22/edit-clear.png");
- EditText .addFile(":/ico/22x22/names.png");
+ EditText .addFile(":/ico/22x22/names.png");
adding_image .addFile(":/ico/22x22/insert-image.png");
if (rtl) {
@@ -335,6 +336,7 @@
GoUp .addFile(":/ico/16x16/go-up.png");
GoUp .addFile(":/ico/22x22/go-up.png");
Ground .addFile(":/ico/16x16/ground.png");
+ Grid .addFile(":/ico/22x22/grid.png");
Hide .addFile(":/ico/16x16/masquer.png");
Home .addFile(":/ico/16x16/go-home.png");
Home .addFile(":/ico/22x22/go-home.png");
Modified: trunk/sources/qeticons.h
===================================================================
--- trunk/sources/qeticons.h 2016-08-19 11:13:55 UTC (rev 4638)
+++ trunk/sources/qeticons.h 2016-08-19 11:33:23 UTC (rev 4639)
@@ -47,7 +47,7 @@
extern QIcon DefaultConductor;
extern QIcon DiagramAdd;
extern QIcon Diagram;
- extern QIcon DiagramBg;
+ extern QIcon DiagramBg;
extern QIcon DiagramDelete;
extern QIcon DialogCancel;
extern QIcon DialogInformation;
@@ -104,6 +104,7 @@
extern QIcon GoDown;
extern QIcon GoUp;
extern QIcon Ground;
+ extern QIcon Grid;
extern QIcon Hide;
extern QIcon Home;
extern QIcon HotSpot;