mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Element editor : element informations (manufacturer, reference etc...) can be created directly from the element editor. For that go to the widget "Element Property"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5057 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -49,8 +49,8 @@ class ElementEditionCommand : public QUndoCommand
|
||||
// attributes
|
||||
protected:
|
||||
/// Element editor/view/scene the command should take place on
|
||||
ElementScene *editor_scene_;
|
||||
ElementView *editor_view_;
|
||||
ElementScene *m_scene;
|
||||
ElementView *m_view;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -296,7 +296,7 @@ class ScalePartsCommand : public ElementEditionCommand {
|
||||
|
||||
class ChangePropertiesCommand : public ElementEditionCommand {
|
||||
public:
|
||||
ChangePropertiesCommand (ElementScene *scene, QString type, DiagramContext info, QUndoCommand *parent=nullptr);
|
||||
ChangePropertiesCommand (ElementScene *scene, QString type, DiagramContext info, DiagramContext elmt_info, QUndoCommand *parent=nullptr);
|
||||
~ChangePropertiesCommand () override;
|
||||
|
||||
void undo() override;
|
||||
@@ -304,7 +304,8 @@ class ChangePropertiesCommand : public ElementEditionCommand {
|
||||
|
||||
private:
|
||||
QList <QString> m_type;
|
||||
QList <DiagramContext> m_info;
|
||||
QList <DiagramContext> m_kind_info;
|
||||
QList < DiagramContext> m_elmt_info;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user