|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef MULTIPASTEDIALOG_H
19 #define MULTIPASTEDIALOG_H
23 #include "QDomDocument"
44 Ui::MultiPasteDialog *
ui;
53 #endif // MULTIPASTEDIALOG_H
QList< DiagramContent > m_pasted_content_list
Definition: multipastedialog.h:50
DiagramContent m_pasted_content
Definition: multipastedialog.h:46
void adjustSceneRect()
Diagram::adjustSceneRect Recalcul and adjust the size of the scene.
Definition: diagram.cpp:2166
bool fromXml(QDomDocument &, QPointF=QPointF(), bool=true, DiagramContent *=nullptr)
Diagram::fromXml Imports the described schema into an XML document. If a position is specified,...
Definition: diagram.cpp:1029
QDomDocument toXml(bool=true)
Diagram::toXml Exports all or part of the schema.
Definition: diagram.cpp:721
bool freezeNewConductors()
Diagram::freezeNewConductors.
Definition: diagram.cpp:2158
void on_m_button_box_accepted()
Definition: multipastedialog.cpp:94
Definition: diagramcontent.h:46
void clear()
DiagramContent::clear Remove all items from the diagram content.
Definition: diagramcontent.cpp:227
void setCurrentConductorAutoNum(QString autoNum)
QETProject::setCurrentConductorAutoNum.
Definition: qetproject.cpp:568
QString numerotationContextToFormula(const NumerotationContext &nc)
numerotationContextToFormula
Definition: assignvariables.cpp:473
QPointF m_origin
Definition: multipastedialog.h:47
void numerate()
ConductorAutoNumerotation::numerate execute the automatic numerotation.
Definition: conductorautonumerotation.cpp:56
QETProject * project() const
Diagram::project.
Definition: diagram.cpp:2326
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition: diagram.h:56
QIcon Conductor
Definition: qeticons.cpp:35
void updatePreview()
Definition: multipastedialog.cpp:63
virtual void removeItem(QGraphicsItem *item)
Diagram::removeItem Reimplemented from QGraphicsScene::removeItem(QGraphicsItem *item) Do some specif...
Definition: diagram.cpp:1581
Diagram * m_diagram
Definition: multipastedialog.h:45
MultiPasteDialog(Diagram *diagram, QWidget *parent=nullptr)
Definition: multipastedialog.cpp:26
void setCurrrentElementAutonum(QString autoNum)
QETProject::setCurrrentElementAutonum.
Definition: qetproject.cpp:539
bool m_accept
Definition: multipastedialog.h:49
The AddItemCommand class This command add an item in a diagram The item to add is template,...
Definition: diagramcommands.h:42
bool isFreezeNewConductors()
QETProject::isFreezeNewConductors.
Definition: qetproject.cpp:707
QUndoStack & undoStack()
Diagram::undoStack.
Definition: diagram.h:397
QHash< QString, NumerotationContext > conductorAutoNum() const
QETProject::conductorAutoNum.
Definition: qetproject.cpp:493
int count(int=All) const
DiagramContent::count.
Definition: diagramcontent.cpp:401
The ConductorAutoNumerotation class.
Definition: conductorautonumerotation.h:33
Definition: autonumberingdockwidget.h:25
void setFreezeLabel(bool freeze)
Conductor::setFreezeLabel Freeze this conductor label if true Unfreeze this conductor label if false.
Definition: conductor.cpp:2035
QDomDocument m_document
Definition: multipastedialog.h:48
Definition: multipastedialog.h:32
Ui::MultiPasteDialog * ui
Definition: multipastedialog.h:44
The PasteDiagramCommand class This command pastes some content onto a particular diagram.
Definition: diagramcommands.h:88
QList< QGraphicsItem * > items(int=All) const
DiagramContent::items.
Definition: diagramcontent.cpp:374
~MultiPasteDialog()
Definition: multipastedialog.cpp:46
Definition: conductor.h:43
QHash< QString, NumerotationContext > elementAutoNum() const
QETProject::elementAutoNum.
Definition: qetproject.cpp:501
QIcon br
Definition: qeticons.cpp:185
QIcon tr
Definition: qeticons.cpp:206