mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-21 04:29:58 +02:00
Dock properties editor : when selection change dock try to stay in the same tab with the new selection (if possible)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3990 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include "PropertiesEditor/propertieseditordockwidget.h"
|
||||
|
||||
class Diagram;
|
||||
class QGraphicsItem;
|
||||
|
||||
class DiagramPropertiesEditorDockWidget : public PropertiesEditorDockWidget
|
||||
{
|
||||
@@ -36,7 +37,9 @@ class DiagramPropertiesEditorDockWidget : public PropertiesEditorDockWidget
|
||||
void diagramWasDeleted();
|
||||
|
||||
private:
|
||||
enum EditedQGIType {UnknowQGIType, ElementQGIType, ImageQGIType};
|
||||
Diagram *m_diagram;
|
||||
EditedQGIType m_edited_qgi_type;
|
||||
};
|
||||
|
||||
#endif // DIAGRAMPROPERTIESEDITORDOCKWIDGET_H
|
||||
|
||||
Reference in New Issue
Block a user