|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef SEARCHANDREPLACEWIDGET_H
19 #define SEARCHANDREPLACEWIDGET_H
22 #include <QTreeWidgetItemIterator>
29 class QTreeWidgetItem;
57 bool expend_parent =
true);
59 QTreeWidgetItem *item=
nullptr,
60 QTreeWidgetItemIterator::IteratorFlag flags
63 QTreeWidgetItem *item=
nullptr,
64 QTreeWidgetItemIterator::IteratorFlag flags
67 void itemChanged(QTreeWidgetItem *item,
int column);
72 bool all_parents =
true);
91 QTreeWidgetItem *current,
92 QTreeWidgetItem *previous);
105 Ui::SearchAndReplaceWidget *
ui;
120 QHash<QTreeWidgetItem *,
131 #endif // SEARCHANDREPLACEWIDGET_H
@ Terminale
Definition: element.h:57
QList< QString > keys(KeyOrder=None) const
Definition: diagramcontext.cpp:49
virtual kind linkType() const
Definition: element.h:159
QIcon ElementTerminal
Definition: qeticons.cpp:221
The DynamicElementTextItem class This class provide a simple text field of element who can be added o...
Definition: dynamicelementtextitem.h:39
@ All
Definition: qet.h:110
QString m_indi_text
Definition: searchandreplaceworker.h:93
void replaceConductor(QList< Conductor * > list)
SearchAndReplaceWorker::replaceConductor Replace all properties of each conductor in list All conduct...
Definition: searchandreplaceworker.cpp:197
QIcon FolioXrefComing
Definition: qeticons.cpp:220
The ReplaceConductorDialog class A Qdialog to edit a conductor properties, use for the search and rep...
Definition: replaceconductordialog.h:34
ConductorProperties m_conductor_properties
Definition: searchandreplaceworker.h:94
DiagramContext elementInformations() const
Definition: element.h:97
void replaceIndiText(QList< IndependentTextItem * > list)
SearchAndReplaceWorker::replaceIndiText Replace all displayed text of independent text of list Each m...
Definition: searchandreplaceworker.cpp:158
@ NextReport
Definition: element.h:52
QIcon ProjectProperties
Definition: qeticons.cpp:149
Definition: replaceadvanceddialog.h:30
static QStringList elementInfoKeys()
QETApp::elementInfoKeys.
Definition: qetapp.cpp:366
Definition: diagramcontent.h:46
QList< Element * > m_elements
Definition: diagramcontent.h:69
QIcon PartText
Definition: qeticons.cpp:134
QETProject * currentProject() const
QETDiagramEditor::currentProject.
Definition: qetdiagrameditor.cpp:1147
void replaceDiagram(QList< Diagram * > diagram_list)
SearchAndReplaceWorker::replaceDiagram Replace all properties of each diagram in diagram_list,...
Definition: searchandreplaceworker.cpp:41
Definition: replacefoliowidget.h:61
@ Simple
Definition: element.h:51
QIcon Hide
Definition: qeticons.cpp:113
QDate date
Date (displayed by the default template)
Definition: titleblockproperties.h:56
@ Slave
Definition: element.h:56
QIcon Element
Definition: qeticons.cpp:83
BorderTitleBlock border_and_titleblock
Diagram dimensions and title block.
Definition: diagram.h:83
DiagramContext context
Container for the additional, user-defined fields.
Definition: titleblockproperties.h:66
QString title
Folio title (displayed by the default template)
Definition: titleblockproperties.h:54
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition: diagram.h:56
QList< Diagram * > diagrams() const
Definition: qetproject.cpp:217
Definition: titleblockproperties.h:29
QIcon Conductor
Definition: qeticons.cpp:35
QString locmach
Location(displayed by the default template)
Definition: titleblockproperties.h:59
Definition: replaceelementdialog.h:31
QIcon ElementMaster
Definition: qeticons.cpp:218
TitleBlockProperties exportTitleBlock()
BorderTitleBlock::exportTitleBlock.
Definition: bordertitleblock.cpp:279
@ Master
Definition: element.h:55
QString plant
Plant (displayed by the default template)
Definition: titleblockproperties.h:58
ConductorProperties properties
Definition: conductor.h:48
@ CompositeText
Definition: dynamicelementtextitem.h:58
QVariant value(const QString &key) const
Definition: diagramcontext.cpp:100
QString m_function
Definition: conductorproperties.h:90
QIcon ElementSlave
Definition: qeticons.cpp:219
advancedReplaceStruct advancedStruct() const
replaceAdvancedDialog::advancedStruct
Definition: replaceadvanceddialog.cpp:79
static ConductorProperties invalidConductorProperties()
Definition: searchandreplaceworker.cpp:380
@ UserText
Definition: dynamicelementtextitem.h:56
QString filename
Filename (displayed by the default template)
Definition: titleblockproperties.h:57
QList< Conductor * > m_potential_conductors
Definition: diagramcontent.h:76
The SearchAndReplaceWorker class This class is the worker use to change properties when use the searc...
Definition: searchandreplaceworker.h:52
DiagramContext context() const
ReplaceElementDialog::context.
Definition: replaceelementdialog.cpp:59
QIcon it
Definition: qeticons.cpp:196
ConductorProperties properties() const
ReplaceConductorDialog::properties.
Definition: replaceconductordialog.cpp:134
Definition: autonumberingdockwidget.h:25
Definition: qetproject.h:51
The ElementTextItemGroup class This class represent a group of element text Texts in the group can be...
Definition: elementtextitemgroup.h:36
void setTitleBlockProperties(const TitleBlockProperties &properties)
ReplaceFolioDialog::setTitleBlockProperties.
Definition: replacefoliowidget.cpp:151
Definition: qetdiagrameditor.h:51
QString author
Author of the diagram/folio (displayed by the default template)
Definition: titleblockproperties.h:55
@ Vertical
Vertical segment.
Definition: qet.h:90
The ConductorProperties class This class represents the functional properties of a particular conduct...
Definition: conductorproperties.h:68
advancedReplaceStruct m_advanced_struct
Definition: searchandreplaceworker.h:95
Definition: independenttextitem.h:28
Definition: searchandreplaceworker.h:34
void replaceAdvanced(QList< Diagram * > diagrams=QList< Diagram * >(), QList< Element * > elements=QList< Element * >(), QList< IndependentTextItem * > texts=QList< IndependentTextItem * >(), QList< Conductor * > conductors=QList< Conductor * >())
SearchAndReplaceWorker::replaceAdvanced Apply the change of text according to the current advancedStr...
Definition: searchandreplaceworker.cpp:249
@ Horizontal
Horizontal segment.
Definition: qet.h:89
Definition: conductor.h:43
QString indexrev
Revision Index (displayed by the default template)
Definition: titleblockproperties.h:60
QString m_wire_color
Definition: conductorproperties.h:92
TitleBlockProperties titleBlockProperties() const
ReplaceFolioDialog::titleBlockProperties.
Definition: replacefoliowidget.cpp:143
DiagramContext m_element_context
Definition: searchandreplaceworker.h:92
QSet< IndependentTextItem * > m_text_fields
Definition: diagramcontent.h:70
QString text
Definition: conductorproperties.h:89
QString m_tension_protocol
Definition: conductorproperties.h:91
QString folio
Folio information (displayed by the default template)
Definition: titleblockproperties.h:62
TitleBlockProperties m_titleblock_properties
Definition: searchandreplaceworker.h:91
QList< ElementTextItemGroup * > textGroups() const
Element::textGroups.
Definition: element.cpp:1420
QIcon tr
Definition: qeticons.cpp:206
@ PreviousReport
Definition: element.h:53
QString m_wire_section
Definition: conductorproperties.h:93
QIcon Diagram
Definition: qeticons.cpp:43
QList< DynamicElementTextItem * > dynamicTextItems() const
Element::dynamicTextItems.
Definition: element.cpp:1316
Definition: diagramcontext.h:56
void replaceElement(QList< Element * > list)
SearchAndReplaceWorker::replaceElement Replace all properties of each elements in list All element mu...
Definition: searchandreplaceworker.cpp:103