mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 16:50:53 +01:00
Create a common widget to edit propertie
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3930 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <QWidget>
|
||||
#include <QHash>
|
||||
#include <propertieseditorwidget.h>
|
||||
|
||||
class QListWidgetItem;
|
||||
class Element;
|
||||
@@ -35,7 +36,7 @@ namespace Ui {
|
||||
* This class embenddedthe undo/redo command when apply new connection.
|
||||
*/
|
||||
|
||||
class MasterPropertiesWidget : public QWidget
|
||||
class MasterPropertiesWidget : public PropertiesEditorWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -43,7 +44,7 @@ class MasterPropertiesWidget : public QWidget
|
||||
explicit MasterPropertiesWidget(Element *elmt, QWidget *parent = 0);
|
||||
~MasterPropertiesWidget();
|
||||
|
||||
bool apply();
|
||||
void apply();
|
||||
void reset();
|
||||
QUndoCommand* associatedUndo() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user