mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-02 11:40:03 +01: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:
@@ -20,7 +20,7 @@
|
||||
|
||||
#include <QWidget>
|
||||
#include <QHash>
|
||||
#include "PropertiesEditor/propertieseditorwidget.h"
|
||||
#include "abstractelementpropertieseditorwidget.h"
|
||||
|
||||
class QListWidgetItem;
|
||||
class Element;
|
||||
@@ -38,7 +38,7 @@ namespace Ui {
|
||||
* This class embenddedthe undo/redo command when apply new connection.
|
||||
*/
|
||||
|
||||
class MasterPropertiesWidget : public PropertiesEditorWidget
|
||||
class MasterPropertiesWidget : public AbstractElementPropertiesEditorWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -62,7 +62,6 @@ class MasterPropertiesWidget : public PropertiesEditorWidget
|
||||
|
||||
private:
|
||||
Ui::MasterPropertiesWidget *ui;
|
||||
Element *m_element;
|
||||
QHash <QListWidgetItem *, Element *> lwi_hash;
|
||||
Element *m_showed_element;
|
||||
QETProject *m_project;
|
||||
|
||||
Reference in New Issue
Block a user