[qet] [1776] TBT editor: logo manager: added icons.

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


Revision: 1776
Author:   xavier
Date:     2012-05-09 14:56:18 +0200 (Wed, 09 May 2012)
Log Message:
-----------
TBT editor: logo manager: added icons.

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

Added Paths:
-----------
    trunk/ico/16x16/edit-rename.png
    trunk/ico/16x16/list-add.png
    trunk/ico/16x16/list-remove.png
    trunk/ico/22x22/edit-rename.png
    trunk/ico/22x22/list-add.png
    trunk/ico/22x22/list-remove.png

Added: trunk/ico/16x16/edit-rename.png
===================================================================
--- trunk/ico/16x16/edit-rename.png	                        (rev 0)
+++ trunk/ico/16x16/edit-rename.png	2012-05-09 12:56:18 UTC (rev 1776)
@@ -0,0 +1,4 @@
+\x89PNG
+
+
+IHDR\xED\xDD\xE2RsBIT\xDB\xE1O\xE0	pHYs\xBB\xBB:\xEC\xE3\xE2tEXtSoftwarewww.inkscape.org\x9B\xEE<'PLTE\xFF\xFF\xFF\x88\x88\x88\x88\x88\x88\x88\x88\x88\x91\x92\x90\xBA\xBA\xB9\xC0\xC1\xC0\xC5\xC5\xC5\xD0\xD1\xD0\xEC\xEC\xEC\xED\xED\xED\xEE\xEE\xEE\xFF\xFF\xFF\xB9O$tRNS;\xD8N\xCCq1IDAT\xD7c` \x83\x81"\x83\xFA\xEC\xDD@\xB0\xB3\x88\xC1\xEA\x98\xC7 X\xCC`}&\xC4،\x85W\xD777{&\x85\x97D\x8DIEND\xAEB`\x82
\ No newline at end of file

Added: trunk/ico/16x16/list-add.png
===================================================================
--- trunk/ico/16x16/list-add.png	                        (rev 0)
+++ trunk/ico/16x16/list-add.png	2012-05-09 12:56:18 UTC (rev 1776)
@@ -0,0 +1,6 @@
+\x89PNG
+
+
+IHDR\xF3\xFFasBIT|d\x88	pHYs\xBB\xBB:\xEC\xE3\xE2tEXtSoftwarewww.inkscape.org\x9B\xEE<\xB1IDATxڥ\x93MkQ\x86\x9F\xFB5I\xDAILiݸH]\x98\xB5\x82DD\xE8?p\xE7"\xFAčӕ`A\xFF@\\xE9B\x90Rn\xC4.\xEA\x82T\xB4DqL36\x93t\xE6\xDE;BEp\xE1DB\x9F\xED\xCBy8\xBC\x9C#\xF2<g/H
+\xB8\xB6~\xF9\xAD\xC1\xD9GG\xA2\xE5wKw(\xA0p\x83\xF3\xABs~\xEE\xE09\x91\xBA!\xAF\xA3\xF6\xF6\xC9\xFBf\xAC
+^~}.\xBCR\xAAh\xDEn\xBD\xD1Pd\xDE\xF1s'AHI\xEA\xFF@\xF6O`\x9D'N\x99u\xFF\x9As@\xAE\xDA+\xED\xC5Nܹ\xF2\xEC\xCBS(M\xA0FI\x92l\x88\x82\x971\xFB\xA0\x99W\x8C\xA1\x8E\xEE?a\xB5\xE6\xCDK\x87\xAE\xEE\x96h\xCD\xF7\x8B\xC7.L\xA3\xB9\xF2)~|\xBC+\xA8\xEB:RjJ\x84D\xFDq\xF2\x83lr3\xBAw\xFAՌ\xB0ֲuЁƔ\xB5R\x88\x91\x82\xBE\xDBFI0\xB9!I6\xA2\xF4\xA6\x82*3A\xFAW\x9E\xF9\xC7\xEF\x9F\xDCBc\xD0`\xB4$P\x8A\xD9f\x8B\xC9 `\xED\xE3:e\xA3)iM5Ԙ ά\xD5\xF3#d\xF2S\x87ZLM\x94Y\xEBl\xF0\xA9\xDDc݁\xF3\x9E\xCCeH\x99\xF7\xA1G	\xBEm\xF7ȅǺ\xB1\xD7e#\xAC矻]\xD1\xEDg\x84v\x9F\xF3\x99\xFC\xF1\xE9\xEA20<0\xD1ت\xF9ڍ\x91ϴ~_"\xAF\xAC\xBE\x865\xEBIEND\xAEB`\x82
\ No newline at end of file

Added: trunk/ico/16x16/list-remove.png
===================================================================
--- trunk/ico/16x16/list-remove.png	                        (rev 0)
+++ trunk/ico/16x16/list-remove.png	2012-05-09 12:56:18 UTC (rev 1776)
@@ -0,0 +1,4 @@
+\x89PNG
+
+
+IHDR\xF3\xFFasBIT|d\x88	pHYs\xBB\xBB:\xEC\xE3\xE2tEXtSoftwarewww.inkscape.org\x9B\xEE<\xC9IDATx\xDA풱\x820\x86\xAF@EI\xDCt2\xC4ѧ\xE0Y\x90\xDDɸ;;\xAA\x8B/\xD2Չ7`s#bh\x8C\xEAOB$:\xE8\xE0\xE2\xC0\x97\xFCI\xFF\xBB\xCB\xDD5-SJ\xD1/hP۠\x81A}ǀXcj\x9E\xB7\xBA\x85\xE1"\x82\x9B\xF0\x95:\xD0\xFB\xB9\xEF8\xB9e\xDB\xEB\x9E\xEF/	<\x9Fq\xCF\xF9q\xEA\xBA#=M\xA9\xCFk\xE9PEiYtF\xEE\xC74\xE24\x94r\xF0\xB2\xC1=\xCF\xE9EdJI\xBAa\x90\x86\xC6ZQ!^"\x9F\xC5Y\x86U:$\xABi6\xD816\xC3\xE4\x8DY\x95\xC0\xB8\x86D\xDD|\xACԖ@\xFB\xFF\xA1\xC1\xAFE7\xF3&\xC3IEND\xAEB`\x82
\ No newline at end of file

Added: trunk/ico/22x22/edit-rename.png
===================================================================
--- trunk/ico/22x22/edit-rename.png	                        (rev 0)
+++ trunk/ico/22x22/edit-rename.png	2012-05-09 12:56:18 UTC (rev 1776)
@@ -0,0 +1,6 @@
+\x89PNG
+
+
+IHDRĴl;sBIT|d\x88	pHYsvv}Ղ\xCCtEXtSoftwarewww.inkscape.org\x9B\xEE<\xDEIDATx\xDA\xED\x95?\x820\x87_\xA1\xA8\xF50\xC8TVu&\xF1\xFE\xBD\x80\x863\xC8\xD4[\xB0\xC8
+37К0\xE0+)	\x8C\x86\x928@\xF2\xF5\xF7\x92&_~HUU0\xC4c!\xA3xX1\x8D\xA2h\x83yECN\x81\(q\x86\xDC\xF3<#֢(\x82$Ib%\xAE\xA5\xAE\xEBc\xAC\x97TJٌ\x9Cꡖ\xDE7\xC8\xF3,\xDB\xE1\xC3\xF1p\xFA\xC5\xDBy1ھ\xD8m\xF7\x90\xA6Op&\xAC\x96\xEB\xB1\xC7\xFF\xBE \xAD\xB9\xD3
+!\x84jE1vP\xB5\xC2L\x8F\xB58\xC3mᘦ6OE\xA6\xC4g\A\xE3ߊ\xF1\xD2m!\xC4Ƙ"\x99)\xF4<oRc!%\xF2F\xA4Ώ\x9Au\xBEt\x96_\xB2\xF8D\x93\xB6\x8F&\xA0IEND\xAEB`\x82
\ No newline at end of file

Added: trunk/ico/22x22/list-add.png
===================================================================
--- trunk/ico/22x22/list-add.png	                        (rev 0)
+++ trunk/ico/22x22/list-add.png	2012-05-09 12:56:18 UTC (rev 1776)
@@ -0,0 +1,9 @@
+\x89PNG
+
+
+IHDRĴl;sBIT|d\x88	pHYs
+\xD7
+\xD7B(\x9BxtEXtSoftwarewww.inkscape.org\x9B\xEE<IDATxڭ\x94\xCDk\x9CU\xC6\xF7\xEB}g\xF2\x9D1\x93\xB4\x8A \xB4\xD0ЖIT\xBA)\xD2KAnDĵ+\xDBM\xB3\xE8\xB2\xEE\xC1?\xA0\x85\xACJ\xB5\xAE\xAAЂh\xCDJ\x83\x8B\xD8bjJ2L\xD3f&3\xEF\xE7\xBD\xD7\xE9;\xDDf\xB2\x98<\x97\xE7<\xAE\xF0\xDE\xD3O\xEF\xFDp\xE6\xFD\xF3\xAF\xBC\xF3ݭ\xF5\xAFJE\xB5\xA97\x96k/\xBD\xF9\xF5\xB3\x97~\xA3\x8F4hH\x8D\xDC\xF8j\xEE\xCAĩ\xC99\xC0\x95\xEEܓd\xEB&\xF0*\x90\xB2\x8F$h\xA3\xB5>\xF1\xFB\xD6=*\xC9D\xA6J3ܯߝ\xF2\x81:\xB6\xDE\xD3\xCAv\xD9k\xFF@Տ\xF2\xDF^qw\x83\x81\x9D\xEB\xDA\xD2ɒ^--\xB9\xEB1;\xE7\xB18\xDAi@Z\xAC\xF3\x87vE\xBD\x8EyЭ\xEEIOG\x80\xD1\xFD2\xF6ޑ\xE4i\x9E\xE2\x9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x94\x91!X\xB5\xE3---\xF5\xFF\xA0\x86n\xC2H[\xD0\xE6IEND\xAEB`\x82
\ No newline at end of file

Added: trunk/ico/22x22/list-remove.png
===================================================================
--- trunk/ico/22x22/list-remove.png	                        (rev 0)
+++ trunk/ico/22x22/list-remove.png	2012-05-09 12:56:18 UTC (rev 1776)
@@ -0,0 +1,7 @@
+\x89PNG
+
+
+IHDRĴl;sBIT|d\x88	pHYs
+\xD7
+\xD7B(\x9BxtEXtSoftwarewww.inkscape.org\x9B\xEE<oIDATx\xDA\xED\x94\xC1JQ\x86\xFF;\xE3\x88\x8A\x89\xA1.Z\xB5b\xDA\xAE\xA2E\x9B\xA2\xF0Q\xDCnDZ\xF5
+\xD2\x81\xBBv\xB9\x95\xDC$!:H\xE3\xC6,H\xCDgN\xE7N\x97\xC1\x88V\xD1&\xE6\xC2ǹ\xE7\xF7\x9B\xC3?0\x82\x88\xF0KcBq(\xFEY\x9Ce\xE2\xBFp\xC5}\x87Zw\x95\xCAA\xD24\xAF\xEEk\xB5Ĵݖ\x87>\xA33A\xAF\xAA\xBE\xDA+\xD6L\xEB\xA5\xD2X\xA7\xB1j\xF5\xD6?w\xBB\xE7{\xE5r\x82\xE6s\xCCm[^\xF4\xAAjD\xB22B!}V]e2\xF0,+\xE5\xD4\xEBg,>\xF2\xC5\x97\x97\xBB\x9B\xF9<\x96\xFD>\x96\x96L#!)WxJJr/\xB4lo\x9E\xBB\xD7\xC3\xE3p\x88\xC3b¶\xF7\x83(\x8B^:Df3\xD9\x93\x92B\xB0D\x8FF\xA11rJ\x97't\xA6S<5\x8FFx@\xB9\xDC\xC9\xDAj\xC6pc7\x9B\xC7\x9CS4\x9D\xE6\xD3_,\xF2X\xE4\xF1T\xEF\x93`d,p] C\xAAP@ܪ\xA8D\xAB\x97]\x90{9\xC1\x85\xDB:p5\x8C\x83\x85\xC1G\xF9Ηg:\x82\x9E_\xAE;N\x87\xFB\x93-\xA2n\xF8w\xC5\xFFA\xFCъ\xE88K\xF3IEND\xAEB`\x82
\ No newline at end of file

Modified: trunk/qelectrotech.qrc
===================================================================
--- trunk/qelectrotech.qrc	2012-05-09 02:31:46 UTC (rev 1775)
+++ trunk/qelectrotech.qrc	2012-05-09 12:56:18 UTC (rev 1776)
@@ -35,6 +35,7 @@
 	<file>ico/16x16/edit-delete.png</file>
 	<file>ico/16x16/edit-paste.png</file>
 	<file>ico/16x16/edit-redo.png</file>
+	<file>ico/16x16/edit-rename.png</file>
 	<file>ico/16x16/edit-select-all.png</file>
 	<file>ico/16x16/edit-table-insert-row-above.png</file>
 	<file>ico/16x16/edit-table-insert-column-left.png</file>
@@ -60,6 +61,8 @@
 	<file>ico/16x16/item_copy.png</file>
 	<file>ico/16x16/item_move.png</file>
 	<file>ico/16x16/label.png</file>
+	<file>ico/16x16/list-add.png</file>
+	<file>ico/16x16/list-remove.png</file>
 	<file>ico/16x16/masquer.png</file>
 	<file>ico/16x16/neutral.png</file>
 	<file>ico/16x16/north.png</file>
@@ -119,6 +122,7 @@
 	<file>ico/22x22/edit-delete.png</file>
 	<file>ico/22x22/edit-paste.png</file>
 	<file>ico/22x22/edit-redo.png</file>
+	<file>ico/22x22/edit-rename.png</file>
 	<file>ico/22x22/edit-select-all.png</file>
 	<file>ico/22x22/edit-table-insert-row-above.png</file>
 	<file>ico/22x22/edit-table-insert-column-left.png</file>
@@ -144,6 +148,8 @@
 	<file>ico/22x22/label.png</file>
 	<file>ico/22x22/landscape.png</file>
 	<file>ico/22x22/line.png</file>
+	<file>ico/22x22/list-add.png</file>
+	<file>ico/22x22/list-remove.png</file>
 	<file>ico/22x22/lower.png</file>
 	<file>ico/22x22/move.png</file>
 	<file>ico/22x22/names.png</file>

Modified: trunk/sources/qeticons.cpp
===================================================================
--- trunk/sources/qeticons.cpp	2012-05-09 02:31:46 UTC (rev 1775)
+++ trunk/sources/qeticons.cpp	2012-05-09 12:56:18 UTC (rev 1776)
@@ -21,6 +21,7 @@
 // on redeclare ici les icones
 namespace QET {
 	namespace Icons {
+		QIcon Add;
 		QIcon AddColumn;
 		QIcon AddRow;
 		QIcon Allowed;
@@ -62,6 +63,7 @@
 		QIcon EditDelete;
 		QIcon EditPaste;
 		QIcon EditRedo;
+		QIcon EditRename;
 		QIcon EditSelectAll;
 		QIcon EditTableCellMerge;
 		QIcon EditTableCellSplit;
@@ -129,6 +131,7 @@
 		QIcon QETOxygenLogo;
 		QIcon QtLogo;
 		QIcon Raise;
+		QIcon Remove;
 		QIcon RemoveColumn;
 		QIcon RemoveRow;
 		QIcon Restore;
@@ -162,6 +165,8 @@
 	bool rtl = QApplication::isRightToLeft();
 	QTransform reverse = QTransform().scale(-1, 1);
 	
+	Add                 .addFile(":/ico/16x16/list-add.png");
+	Add                 .addFile(":/ico/22x22/list-add.png");
 	AddColumn           .addFile(":/ico/16x16/add_col.png");
 	AddRow              .addFile(":/ico/16x16/add_row.png");
 	Allowed             .addFile(":/ico/16x16/user-online.png");
@@ -242,6 +247,8 @@
 		EditRedo            .addFile(":/ico/16x16/edit-redo.png");
 		EditRedo            .addFile(":/ico/22x22/edit-redo.png");
 	}
+	EditRename          .addFile(":/ico/16x16/edit-rename.png");
+	EditRename          .addFile(":/ico/22x22/edit-rename.png");
 	EditSelectAll       .addFile(":/ico/16x16/edit-select-all.png");
 	EditSelectAll       .addFile(":/ico/22x22/edit-select-all.png");
 	EditTableCellMerge        .addFile(":ico/16x16/edit-table-cell-merge.png");
@@ -342,6 +349,8 @@
 	QETOxygenLogo       .addFile(":/ico/oxygen-icons/64x64/apps/qelectrotech.png");
 	QtLogo              .addFile(":/ico/32x32/qt.png");
 	Raise               .addFile(":/ico/22x22/raise.png");
+	Remove              .addFile(":/ico/16x16/list-remove.png");
+	Remove              .addFile(":/ico/22x22/list-remove.png");
 	RemoveColumn        .addFile(":/ico/16x16/remove_col.png");
 	RemoveRow           .addFile(":/ico/16x16/remove_row.png");
 	Restore             .addFile(":/ico/22x22/restaurer.png");

Modified: trunk/sources/qeticons.h
===================================================================
--- trunk/sources/qeticons.h	2012-05-09 02:31:46 UTC (rev 1775)
+++ trunk/sources/qeticons.h	2012-05-09 12:56:18 UTC (rev 1776)
@@ -28,6 +28,7 @@
 		
 		// l'utilisation du mot-cle extern permet l'acces aux objets statiques
 		// depuis l'exterieur du namespace
+		extern QIcon Add;
 		extern QIcon AddColumn;
 		extern QIcon AddRow;
 		extern QIcon Allowed;
@@ -69,6 +70,7 @@
 		extern QIcon EditDelete;
 		extern QIcon EditPaste;
 		extern QIcon EditRedo;
+		extern QIcon EditRename;
 		extern QIcon EditSelectAll;
 		extern QIcon EditTableCellMerge;
 		extern QIcon EditTableCellSplit;
@@ -138,6 +140,7 @@
 		extern QIcon QETOxygenLogo;
 		extern QIcon QtLogo;
 		extern QIcon Raise;
+		extern QIcon Remove;
 		extern QIcon RemoveColumn;
 		extern QIcon RemoveRow;
 		extern QIcon Restore;

Modified: trunk/sources/titleblock/templatelogomanager.cpp
===================================================================
--- trunk/sources/titleblock/templatelogomanager.cpp	2012-05-09 02:31:46 UTC (rev 1775)
+++ trunk/sources/titleblock/templatelogomanager.cpp	2012-05-09 12:56:18 UTC (rev 1776)
@@ -84,12 +84,12 @@
 	logos_view_ -> setWrapping(true);
 	logos_view_ -> setMovement(QListView::Static);
 	logos_view_ -> setResizeMode(QListView::Adjust);
-	add_button_ = new QPushButton(tr("Ajouter un logo"));
-	delete_button_ = new QPushButton(tr("Supprimer ce logo"));
+	add_button_ = new QPushButton(QET::Icons::Add, tr("Ajouter un logo"));
+	delete_button_ = new QPushButton(QET::Icons::Remove, tr("Supprimer ce logo"));
 	logo_box_ = new QGroupBox(tr("Propri\351t\351s"));
 	logo_name_label_ = new QLabel(tr("Nom :"));
 	logo_name_ = new QLineEdit();
-	rename_button_ = new QPushButton(tr("Renommer"));
+	rename_button_ = new QPushButton(QET::Icons::EditRename, tr("Renommer"));
 	logo_type_ = new QLabel(tr("Type :"));
 	buttons_ = new QDialogButtonBox(QDialogButtonBox::Ok);
 	


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