refactor: Decouple moveToSideBar from overlaying

overlaying just shows/hides the overlay, and not requires
the dock widget was added to the sidebar before
This commit is contained in:
Sergio Martins
2020-09-20 13:44:04 +01:00
parent c85873c6ce
commit 2659ddb76b
7 changed files with 45 additions and 33 deletions

View File

@@ -344,8 +344,10 @@ public:
* It will be undocked from current layout. It's previous docked position will be remembered.
*
* This action is only available if the dock widget is docked into a MainWindow.
* The dockwidget will initially be visible and overlayed on top of the current layout (this is
* the auto-hide feature).
*/
void minimizeToSideBar();
void moveToSideBar();
Q_SIGNALS:
///@brief signal emitted when the parent changed