mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-26 21:40:52 +01:00
Change element information is now managed by an undo command
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3542 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
|
||||
class QListWidgetItem;
|
||||
class Element;
|
||||
class QUndoCommand;
|
||||
|
||||
namespace Ui {
|
||||
class MasterPropertiesWidget;
|
||||
@@ -42,8 +43,9 @@ class MasterPropertiesWidget : public QWidget
|
||||
explicit MasterPropertiesWidget(Element *elmt, QWidget *parent = 0);
|
||||
~MasterPropertiesWidget();
|
||||
|
||||
void apply();
|
||||
bool apply();
|
||||
void reset();
|
||||
QUndoCommand* associatedUndo() const;
|
||||
|
||||
private:
|
||||
void buildInterface();
|
||||
|
||||
Reference in New Issue
Block a user