[qet] qet/qet: [5539] Add new icons, thank Nuri. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5539
Author: blacksun
Date: 2018-09-29 17:58:29 +0200 (Sat, 29 Sep 2018)
Log Message:
-----------
Add new icons, thank Nuri.
Modified Paths:
--------------
trunk/sources/SearchAndReplace/ui/searchandreplacewidget.cpp
trunk/sources/SearchAndReplace/ui/searchandreplacewidget.ui
trunk/sources/qeticons.cpp
trunk/sources/qeticons.h
Added Paths:
-----------
trunk/ico/16x16/conductor.png
trunk/ico/16x16/element-master.png
trunk/ico/16x16/element-slave.png
trunk/ico/16x16/folio-ref-coming.png
trunk/ico/16x16/terminal.png
Added: trunk/ico/16x16/conductor.png
===================================================================
(Binary files differ)
Index: trunk/ico/16x16/conductor.png
===================================================================
--- trunk/ico/16x16/conductor.png 2018-09-29 09:27:56 UTC (rev 5538)
+++ trunk/ico/16x16/conductor.png 2018-09-29 15:58:29 UTC (rev 5539)
Property changes on: trunk/ico/16x16/conductor.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/ico/16x16/element-master.png
===================================================================
(Binary files differ)
Index: trunk/ico/16x16/element-master.png
===================================================================
--- trunk/ico/16x16/element-master.png 2018-09-29 09:27:56 UTC (rev 5538)
+++ trunk/ico/16x16/element-master.png 2018-09-29 15:58:29 UTC (rev 5539)
Property changes on: trunk/ico/16x16/element-master.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/ico/16x16/element-slave.png
===================================================================
(Binary files differ)
Index: trunk/ico/16x16/element-slave.png
===================================================================
--- trunk/ico/16x16/element-slave.png 2018-09-29 09:27:56 UTC (rev 5538)
+++ trunk/ico/16x16/element-slave.png 2018-09-29 15:58:29 UTC (rev 5539)
Property changes on: trunk/ico/16x16/element-slave.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/ico/16x16/folio-ref-coming.png
===================================================================
(Binary files differ)
Index: trunk/ico/16x16/folio-ref-coming.png
===================================================================
--- trunk/ico/16x16/folio-ref-coming.png 2018-09-29 09:27:56 UTC (rev 5538)
+++ trunk/ico/16x16/folio-ref-coming.png 2018-09-29 15:58:29 UTC (rev 5539)
Property changes on: trunk/ico/16x16/folio-ref-coming.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/ico/16x16/terminal.png
===================================================================
(Binary files differ)
Index: trunk/ico/16x16/terminal.png
===================================================================
--- trunk/ico/16x16/terminal.png 2018-09-29 09:27:56 UTC (rev 5538)
+++ trunk/ico/16x16/terminal.png 2018-09-29 15:58:29 UTC (rev 5539)
Property changes on: trunk/ico/16x16/terminal.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: trunk/sources/SearchAndReplace/ui/searchandreplacewidget.cpp
===================================================================
--- trunk/sources/SearchAndReplace/ui/searchandreplacewidget.cpp 2018-09-29 09:27:56 UTC (rev 5538)
+++ trunk/sources/SearchAndReplace/ui/searchandreplacewidget.cpp 2018-09-29 15:58:29 UTC (rev 5539)
@@ -155,27 +155,31 @@
m_master_elmt_qtwi= new QTreeWidgetItem(m_elements_qtwi);
m_master_elmt_qtwi->setText(0, tr("Elements maître"));
+ m_master_elmt_qtwi->setIcon(0, QET::Icons::ElementMaster);
m_master_elmt_qtwi->setCheckState(0, Qt::Checked);
m_qtwi_elmts.append(m_master_elmt_qtwi);
m_slave_elmt_qtwi = new QTreeWidgetItem(m_elements_qtwi);
m_slave_elmt_qtwi->setText(0, tr("Elements esclave"));
+ m_slave_elmt_qtwi->setIcon(0, QET::Icons::ElementSlave);
m_slave_elmt_qtwi->setCheckState(0, Qt::Checked);
m_qtwi_elmts.append(m_slave_elmt_qtwi);
m_report_elmt_qtwi = new QTreeWidgetItem(m_elements_qtwi);
m_report_elmt_qtwi->setText(0, tr("Elements report de folio"));
+ m_report_elmt_qtwi->setIcon(0, QET::Icons::FolioXrefComing);
m_report_elmt_qtwi->setCheckState(0, Qt::Checked);
m_qtwi_elmts.append(m_report_elmt_qtwi);
m_terminal_elmt_qtwi = new QTreeWidgetItem(m_elements_qtwi);
m_terminal_elmt_qtwi->setText(0, tr("Elements bornier"));
+ m_terminal_elmt_qtwi->setIcon(0, QET::Icons::ElementTerminal);
m_terminal_elmt_qtwi->setCheckState(0, Qt::Checked);
m_qtwi_elmts.append(m_terminal_elmt_qtwi);
m_category_qtwi.append(m_qtwi_elmts);
m_conductor_qtwi = new QTreeWidgetItem(m_root_qtwi);
- m_conductor_qtwi->setIcon(0, QET::Icons::ConductorSettings);
+ m_conductor_qtwi->setIcon(0, QET::Icons::Conductor);
m_conductor_qtwi->setText(0, tr("Conducteurs"));
m_conductor_qtwi->setCheckState(0, Qt::Checked);
m_category_qtwi.append(m_conductor_qtwi);
Modified: trunk/sources/SearchAndReplace/ui/searchandreplacewidget.ui
===================================================================
--- trunk/sources/SearchAndReplace/ui/searchandreplacewidget.ui 2018-09-29 09:27:56 UTC (rev 5538)
+++ trunk/sources/SearchAndReplace/ui/searchandreplacewidget.ui 2018-09-29 15:58:29 UTC (rev 5539)
@@ -48,6 +48,9 @@
<property name="uniformRowHeights">
<bool>true</bool>
</property>
+ <property name="animated">
+ <bool>true</bool>
+ </property>
<property name="allColumnsShowFocus">
<bool>true</bool>
</property>
Modified: trunk/sources/qeticons.cpp
===================================================================
--- trunk/sources/qeticons.cpp 2018-09-29 09:27:56 UTC (rev 5538)
+++ trunk/sources/qeticons.cpp 2018-09-29 15:58:29 UTC (rev 5539)
@@ -211,6 +211,10 @@
QIcon super;
QIcon sub;
QIcon textGroup;
+ QIcon ElementMaster;
+ QIcon ElementSlave;
+ QIcon FolioXrefComing;
+ QIcon ElementTerminal;
}
}
@@ -239,6 +243,7 @@
Autoconnect .addFile(":/ico/22x22/autoconnect.png");
BringForward .addFile(":/ico/22x22/bring_forward.png");
Cancel .addFile(":/ico/16x16/item-cancel.png");
+ Conductor .addFile(":/ico/16x16/conductor.png");
ConductorEdit .addFile(":/ico/16x16/conductor-edit.png");
ConductorSettings .addFile(":/ico/16x16/conductor-reset.png");
ConductorSettings .addFile(":/ico/22x22/conductor2.png");
@@ -518,4 +523,8 @@
sub .addFile(":/ico/22x22/format-text-subscript.png");
super .addFile(":/ico/22x22/format-text-superscript.png");
textGroup .addFile(":/ico/16x16/object-group.png");
+ ElementMaster .addFile(":/ico/16x16/element-master.png");
+ ElementSlave .addFile(":/ico/16x16/element-slave.png");
+ FolioXrefComing .addFile(":/ico/16x16/folio-ref-coming.png");
+ ElementTerminal .addFile(":/ico/16x16/terminal.png");
}
Modified: trunk/sources/qeticons.h
===================================================================
--- trunk/sources/qeticons.h 2018-09-29 09:27:56 UTC (rev 5538)
+++ trunk/sources/qeticons.h 2018-09-29 15:58:29 UTC (rev 5539)
@@ -219,6 +219,10 @@
extern QIcon super;
extern QIcon sub;
extern QIcon textGroup;
+ extern QIcon ElementMaster;
+ extern QIcon ElementSlave;
+ extern QIcon FolioXrefComing;
+ extern QIcon ElementTerminal;
}
}
#endif