mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
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:
BIN
ico/16x16/conductor.png
Normal file
BIN
ico/16x16/conductor.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 197 B |
BIN
ico/16x16/element-master.png
Normal file
BIN
ico/16x16/element-master.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 312 B |
BIN
ico/16x16/element-slave.png
Normal file
BIN
ico/16x16/element-slave.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 296 B |
BIN
ico/16x16/folio-ref-coming.png
Normal file
BIN
ico/16x16/folio-ref-coming.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 292 B |
BIN
ico/16x16/terminal.png
Normal file
BIN
ico/16x16/terminal.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 227 B |
@@ -155,27 +155,31 @@ void SearchAndReplaceWidget::setUpTreeItems()
|
|||||||
|
|
||||||
m_master_elmt_qtwi= new QTreeWidgetItem(m_elements_qtwi);
|
m_master_elmt_qtwi= new QTreeWidgetItem(m_elements_qtwi);
|
||||||
m_master_elmt_qtwi->setText(0, tr("Elements maître"));
|
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_master_elmt_qtwi->setCheckState(0, Qt::Checked);
|
||||||
m_qtwi_elmts.append(m_master_elmt_qtwi);
|
m_qtwi_elmts.append(m_master_elmt_qtwi);
|
||||||
|
|
||||||
m_slave_elmt_qtwi = new QTreeWidgetItem(m_elements_qtwi);
|
m_slave_elmt_qtwi = new QTreeWidgetItem(m_elements_qtwi);
|
||||||
m_slave_elmt_qtwi->setText(0, tr("Elements esclave"));
|
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_slave_elmt_qtwi->setCheckState(0, Qt::Checked);
|
||||||
m_qtwi_elmts.append(m_slave_elmt_qtwi);
|
m_qtwi_elmts.append(m_slave_elmt_qtwi);
|
||||||
|
|
||||||
m_report_elmt_qtwi = new QTreeWidgetItem(m_elements_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->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_report_elmt_qtwi->setCheckState(0, Qt::Checked);
|
||||||
m_qtwi_elmts.append(m_report_elmt_qtwi);
|
m_qtwi_elmts.append(m_report_elmt_qtwi);
|
||||||
|
|
||||||
m_terminal_elmt_qtwi = new QTreeWidgetItem(m_elements_qtwi);
|
m_terminal_elmt_qtwi = new QTreeWidgetItem(m_elements_qtwi);
|
||||||
m_terminal_elmt_qtwi->setText(0, tr("Elements bornier"));
|
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_terminal_elmt_qtwi->setCheckState(0, Qt::Checked);
|
||||||
m_qtwi_elmts.append(m_terminal_elmt_qtwi);
|
m_qtwi_elmts.append(m_terminal_elmt_qtwi);
|
||||||
m_category_qtwi.append(m_qtwi_elmts);
|
m_category_qtwi.append(m_qtwi_elmts);
|
||||||
|
|
||||||
m_conductor_qtwi = new QTreeWidgetItem(m_root_qtwi);
|
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->setText(0, tr("Conducteurs"));
|
||||||
m_conductor_qtwi->setCheckState(0, Qt::Checked);
|
m_conductor_qtwi->setCheckState(0, Qt::Checked);
|
||||||
m_category_qtwi.append(m_conductor_qtwi);
|
m_category_qtwi.append(m_conductor_qtwi);
|
||||||
|
|||||||
@@ -48,6 +48,9 @@
|
|||||||
<property name="uniformRowHeights">
|
<property name="uniformRowHeights">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="animated">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
<property name="allColumnsShowFocus">
|
<property name="allColumnsShowFocus">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
@@ -211,6 +211,10 @@ namespace QET {
|
|||||||
QIcon super;
|
QIcon super;
|
||||||
QIcon sub;
|
QIcon sub;
|
||||||
QIcon textGroup;
|
QIcon textGroup;
|
||||||
|
QIcon ElementMaster;
|
||||||
|
QIcon ElementSlave;
|
||||||
|
QIcon FolioXrefComing;
|
||||||
|
QIcon ElementTerminal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -239,6 +243,7 @@ void QET::Icons::initIcons() {
|
|||||||
Autoconnect .addFile(":/ico/22x22/autoconnect.png");
|
Autoconnect .addFile(":/ico/22x22/autoconnect.png");
|
||||||
BringForward .addFile(":/ico/22x22/bring_forward.png");
|
BringForward .addFile(":/ico/22x22/bring_forward.png");
|
||||||
Cancel .addFile(":/ico/16x16/item-cancel.png");
|
Cancel .addFile(":/ico/16x16/item-cancel.png");
|
||||||
|
Conductor .addFile(":/ico/16x16/conductor.png");
|
||||||
ConductorEdit .addFile(":/ico/16x16/conductor-edit.png");
|
ConductorEdit .addFile(":/ico/16x16/conductor-edit.png");
|
||||||
ConductorSettings .addFile(":/ico/16x16/conductor-reset.png");
|
ConductorSettings .addFile(":/ico/16x16/conductor-reset.png");
|
||||||
ConductorSettings .addFile(":/ico/22x22/conductor2.png");
|
ConductorSettings .addFile(":/ico/22x22/conductor2.png");
|
||||||
@@ -518,4 +523,8 @@ void QET::Icons::initIcons() {
|
|||||||
sub .addFile(":/ico/22x22/format-text-subscript.png");
|
sub .addFile(":/ico/22x22/format-text-subscript.png");
|
||||||
super .addFile(":/ico/22x22/format-text-superscript.png");
|
super .addFile(":/ico/22x22/format-text-superscript.png");
|
||||||
textGroup .addFile(":/ico/16x16/object-group.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");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -219,6 +219,10 @@ namespace QET {
|
|||||||
extern QIcon super;
|
extern QIcon super;
|
||||||
extern QIcon sub;
|
extern QIcon sub;
|
||||||
extern QIcon textGroup;
|
extern QIcon textGroup;
|
||||||
|
extern QIcon ElementMaster;
|
||||||
|
extern QIcon ElementSlave;
|
||||||
|
extern QIcon FolioXrefComing;
|
||||||
|
extern QIcon ElementTerminal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user