mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-01 02:29:58 +02:00
Properties dock : button edit element and find element work.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4018 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
#include "PropertiesEditor/propertieseditordockwidget.h"
|
||||
|
||||
class Diagram;
|
||||
class QGraphicsItem;
|
||||
|
||||
class DiagramPropertiesEditorDockWidget : public PropertiesEditorDockWidget
|
||||
{
|
||||
@@ -32,14 +31,17 @@ class DiagramPropertiesEditorDockWidget : public PropertiesEditorDockWidget
|
||||
|
||||
void setDiagram(Diagram *diagram);
|
||||
|
||||
private: //Make this method private because only this class manage the editor widget.
|
||||
bool addEditor(PropertiesEditorWidget *editor, int index = 0) { return PropertiesEditorDockWidget::addEditor(editor, index); }
|
||||
bool removeEditor(PropertiesEditorWidget *editor) { return PropertiesEditorDockWidget::removeEditor(editor); }
|
||||
|
||||
private slots:
|
||||
void selectionChanged();
|
||||
void diagramWasDeleted();
|
||||
|
||||
private:
|
||||
enum EditedQGIType {UnknowQGIType, ElementQGIType, ImageQGIType};
|
||||
Diagram *m_diagram;
|
||||
EditedQGIType m_edited_qgi_type;
|
||||
int m_edited_qgi_type;
|
||||
};
|
||||
|
||||
#endif // DIAGRAMPROPERTIESEDITORDOCKWIDGET_H
|
||||
|
||||
Reference in New Issue
Block a user