mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-03 02:30: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:
@@ -18,44 +18,49 @@
|
||||
#ifndef ELEMENTPROPERTIESWIDGET_H
|
||||
#define ELEMENTPROPERTIESWIDGET_H
|
||||
|
||||
#include <QtGui>
|
||||
#include "qetgraphicsitem/element.h"
|
||||
#include "diagram.h"
|
||||
#include "elementinfowidget.h"
|
||||
#include "masterpropertieswidget.h"
|
||||
#include "linksingleelementwidget.h"
|
||||
#include <QDialog>
|
||||
|
||||
class elementpropertieswidget : public QDialog
|
||||
{
|
||||
class Diagram;
|
||||
class Element;
|
||||
class ElementsLocation;
|
||||
class ElementInfoWidget;
|
||||
class MasterPropertiesWidget;
|
||||
class LinkSingleElementWidget;
|
||||
class QAbstractButton;
|
||||
class QDialogButtonBox;
|
||||
class QTabWidget;
|
||||
|
||||
class elementpropertieswidget : public QDialog {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit elementpropertieswidget(Element *elmt, QWidget *parent = 0);
|
||||
explicit elementpropertieswidget(Element *elmt, QWidget *parent = 0);
|
||||
|
||||
private:
|
||||
QWidget* generalWidget();
|
||||
void buildInterface();
|
||||
QWidget* generalWidget();
|
||||
void buildInterface();
|
||||
|
||||
signals:
|
||||
/// Signal emitted when users wish to locate an element from the diagram within elements collection
|
||||
void findElementRequired(const ElementsLocation &);
|
||||
/// Signal emitted when users wish to edit an element from the diagram
|
||||
void editElementRequired(const ElementsLocation &);
|
||||
/// Signal emitted when users wish to locate an element from the diagram within elements collection
|
||||
void findElementRequired(const ElementsLocation &);
|
||||
/// Signal emitted when users wish to edit an element from the diagram
|
||||
void editElementRequired(const ElementsLocation &);
|
||||
|
||||
public slots:
|
||||
void standardButtonClicked (QAbstractButton *);
|
||||
void findInPanel ();
|
||||
void editElement ();
|
||||
void standardButtonClicked (QAbstractButton *);
|
||||
void findInPanel ();
|
||||
void editElement ();
|
||||
|
||||
private:
|
||||
ElementInfoWidget *eiw_;
|
||||
MasterPropertiesWidget *mpw_;
|
||||
LinkSingleElementWidget *lsew_;
|
||||
QDialogButtonBox *dbb;
|
||||
Element *element_;
|
||||
Diagram *diagram_;
|
||||
QTabWidget *tab_;
|
||||
QPushButton *find_in_panel, *edit_element;
|
||||
|
||||
Element *element_;
|
||||
Diagram *diagram_;
|
||||
QTabWidget *tab_;
|
||||
QPushButton *find_in_panel,
|
||||
*edit_element;
|
||||
QDialogButtonBox *dbb;
|
||||
ElementInfoWidget *eiw_;
|
||||
MasterPropertiesWidget *mpw_;
|
||||
LinkSingleElementWidget *lsew_;
|
||||
};
|
||||
|
||||
#endif // ELEMENTPROPERTIESWIDGET_H
|
||||
|
||||
Reference in New Issue
Block a user