mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-04 03:20:53 +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:
@@ -18,8 +18,9 @@
|
||||
#ifndef LINKSINGLEELEMENTWIDGET_H
|
||||
#define LINKSINGLEELEMENTWIDGET_H
|
||||
|
||||
#include "PropertiesEditor/propertieseditorwidget.h"
|
||||
#include "element.h"
|
||||
#include "abstractelementpropertieseditorwidget.h"
|
||||
|
||||
|
||||
class Diagram;
|
||||
class QLineEdit;
|
||||
@@ -39,7 +40,7 @@ namespace Ui {
|
||||
* If the element is already linked, the widget ask user to unlink.
|
||||
* This widget embedded the diagram command for undo/redo the action
|
||||
*/
|
||||
class LinkSingleElementWidget : public PropertiesEditorWidget
|
||||
class LinkSingleElementWidget : public AbstractElementPropertiesEditorWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -72,7 +73,6 @@ class LinkSingleElementWidget : public PropertiesEditorWidget
|
||||
///Attributes
|
||||
private:
|
||||
Ui::LinkSingleElementWidget *ui;
|
||||
Element *m_element;
|
||||
ElementSelectorWidget *esw_;
|
||||
QList <Diagram *> diagram_list;
|
||||
QWidget *unlink_widget;
|
||||
|
||||
Reference in New Issue
Block a user