mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +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:
@@ -104,6 +104,14 @@ bool PropertiesEditorDockWidget::addEditor(PropertiesEditorWidget *editor, int i
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief PropertiesEditorDockWidget::editors
|
||||
* @return all editor used in this dock
|
||||
*/
|
||||
QList<PropertiesEditorWidget *> PropertiesEditorDockWidget::editors() const {
|
||||
return m_editor_list;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief PropertiesEditorDockWidget::removeEditor
|
||||
* Remove @editor from this dock. The editor wasn't delete a the end of this method
|
||||
|
||||
Reference in New Issue
Block a user