mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 03:10:52 +01:00
Diagram editor : add dock widget for edit the current selection.
For the moment only work with element git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3943 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -30,6 +30,7 @@ class Element;
|
||||
class ElementsPanelWidget;
|
||||
class ElementsLocation;
|
||||
class RecentFiles;
|
||||
class DiagramPropertiesEditorDockWidget;
|
||||
/**
|
||||
This class represents the main window of the QElectroTech diagram editor and,
|
||||
ipso facto, the most important part of the QElectroTech user interface.
|
||||
@@ -48,6 +49,7 @@ class QETDiagramEditor : public QETMainWindow {
|
||||
private:
|
||||
void setUpElementsPanel ();
|
||||
void setUpUndoStack ();
|
||||
void setUpSelectionPropertiesEditor();
|
||||
void setUpActions ();
|
||||
void setUpToolBar ();
|
||||
void setUpMenu ();
|
||||
@@ -161,6 +163,7 @@ class QETDiagramEditor : public QETMainWindow {
|
||||
void subWindowActivated(QMdiSubWindow *subWindows);
|
||||
|
||||
private slots:
|
||||
void selectionChanged();
|
||||
void activeUndoStackCleanChanged (bool clean);
|
||||
|
||||
// attributes
|
||||
@@ -225,6 +228,7 @@ class QETDiagramEditor : public QETMainWindow {
|
||||
QDockWidget *qdw_pa;
|
||||
/// Dock for the undo list
|
||||
QDockWidget *qdw_undo;
|
||||
DiagramPropertiesEditorDockWidget *m_selection_properties_editor;
|
||||
/// Elements panel
|
||||
ElementsPanelWidget *pa;
|
||||
QMenu *windows_menu;
|
||||
|
||||
Reference in New Issue
Block a user