Add new icons, thank Nuri.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5539 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun 2018-09-29 15:58:29 +00:00
parent 61167f062a
commit 1cd8912d64
9 changed files with 21 additions and 1 deletions

BIN
ico/16x16/conductor.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

BIN
ico/16x16/element-slave.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

BIN
ico/16x16/terminal.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

View File

@ -155,27 +155,31 @@ void SearchAndReplaceWidget::setUpTreeItems()
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);

View File

@ -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>

View File

@ -211,6 +211,10 @@ namespace QET {
QIcon super;
QIcon sub;
QIcon textGroup;
QIcon ElementMaster;
QIcon ElementSlave;
QIcon FolioXrefComing;
QIcon ElementTerminal;
}
}
@ -239,6 +243,7 @@ void QET::Icons::initIcons() {
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 @@ void QET::Icons::initIcons() {
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");
}

View File

@ -219,6 +219,10 @@ namespace QET {
extern QIcon super;
extern QIcon sub;
extern QIcon textGroup;
extern QIcon ElementMaster;
extern QIcon ElementSlave;
extern QIcon FolioXrefComing;
extern QIcon ElementTerminal;
}
}
#endif