mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-11 09:29:59 +02: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 "diagramcontext.h"
|
||||
#include "propertieseditorwidget.h"
|
||||
|
||||
class Element;
|
||||
class QUndoCommand;
|
||||
@@ -34,7 +35,8 @@ namespace Ui {
|
||||
* @brief The ElementInfoWidget class
|
||||
* this class is a widget to edit an element informations.
|
||||
*/
|
||||
class ElementInfoWidget : public QWidget {
|
||||
class ElementInfoWidget : public PropertiesEditorWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
//METHODS
|
||||
@@ -42,7 +44,7 @@ class ElementInfoWidget : public QWidget {
|
||||
explicit ElementInfoWidget(Element *elmt, QWidget *parent = 0);
|
||||
~ElementInfoWidget();
|
||||
|
||||
bool apply();
|
||||
void apply();
|
||||
QUndoCommand* associatedUndo () const;
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user