|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef TERMINAL_EDITOR_H
19 #define TERMINAL_EDITOR_H
39 QList<PartTerminal *>& terms,
58 bool setParts(QList<CustomElementPart *> parts)
override;
void enableAnimation(bool animate=true)
QPropertyUndoCommand::enableAnimation True to enable animation.
Definition: qpropertyundocommand.cpp:92
QDoubleSpinBox * qle_x
Definition: terminaleditor.h:51
void orientationChanged()
@ West
Definition: qet.h:209
QDoubleSpinBox * qle_y
Definition: terminaleditor.h:51
void activeConnections(bool)
Definition: terminaleditor.cpp:253
QIcon West
Definition: qeticons.cpp:174
TerminalEditor(QETElementEditor *, QList< PartTerminal * > &terms, QWidget *=nullptr)
TerminalEditor::TerminalEditor Constructeur.
Definition: terminaleditor.cpp:50
CustomElementPart * currentPart() const override
Definition: terminaleditor.cpp:164
bool m_locked
Definition: terminaleditor.h:53
PartTerminal * m_part
Definition: terminaleditor.h:50
bool setParts(QList< CustomElementPart * > parts) override
Definition: terminaleditor.cpp:134
Definition: elementitemeditor.h:34
QList< CustomElementPart * > currentParts() const override
Definition: terminaleditor.cpp:168
QList< PartTerminal * > m_terminals
Definition: terminaleditor.h:49
Definition: partterminal.h:30
QIcon North
Definition: qeticons.cpp:122
@ North
Definition: qet.h:206
bool setPart(CustomElementPart *) override
Definition: terminaleditor.cpp:112
The CustomElementPart class This abstract class represents a primitive of the visual representation o...
Definition: customelementpart.h:40
@ South
Definition: qet.h:208
void updateYPos()
TerminalEditor::updateYPos.
Definition: terminaleditor.cpp:218
void updateForm() override
update Number and name, create cancel object
Definition: terminaleditor.cpp:240
QComboBox * orientation
Definition: terminaleditor.h:52
void updateXPos()
TerminalEditor::updateXPos.
Definition: terminaleditor.cpp:197
@ East
Definition: qet.h:207
void updateTerminalO()
Met a jour l'orientation de la borne et cree un objet d'annulation.
Definition: terminaleditor.cpp:177
The QPropertyUndoCommand class This undo command manage QProperty of a QObject. This undo command can...
Definition: qpropertyundocommand.h:34
The TerminalEditor class This class provides a widget to edit terminals within the element editor....
Definition: terminaleditor.h:33
TerminalEditor(const TerminalEditor &)
void init()
TerminalEditor::init.
Definition: terminaleditor.cpp:62
QIcon tr
Definition: qeticons.cpp:206
~TerminalEditor() override
TerminalEditor::~TerminalEditor Destructeur.
Definition: terminaleditor.cpp:101
Definition: qetelementeditor.h:33
QIcon South
Definition: qeticons.cpp:161
QVariant property(const char *name) const override
Definition: customelementgraphicpart.h:297
virtual QUndoStack & undoStack() const
Definition: elementitemeditor.cpp:44
QIcon East
Definition: qeticons.cpp:61