mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
refs #750, allow to reset window position of dock widget
This commit is contained in:
@@ -84,6 +84,11 @@ namespace BlackGui
|
||||
//! \param parent which will own the action (deletion)
|
||||
QList<QAction *> getInfoAreaRestoreActions(QWidget *parent) const;
|
||||
|
||||
//! Create a list of actions to reset the position the info areas.
|
||||
//! This could be used in a menu or somewhere else.
|
||||
//! \param parent which will own the action (deletion)
|
||||
QList<QAction *> getInfoAreaResetPositionActions(QWidget *parent) const;
|
||||
|
||||
//! Docked area indexes
|
||||
QList<int> getAreaIndexesDockedOrFloating(bool floating) const;
|
||||
|
||||
@@ -119,12 +124,18 @@ namespace BlackGui
|
||||
//! Select area
|
||||
void selectArea(int areaIndex);
|
||||
|
||||
//! Reset position
|
||||
void resetPosition(int areaIndex);
|
||||
|
||||
//! Set current tab bar index by given widget
|
||||
void selectArea(const CDockWidgetInfoArea *dockWidgetInfoArea);
|
||||
|
||||
//! Select area (sender is QAction)
|
||||
void selectAreaByAction();
|
||||
|
||||
//! Reset window position of area (sender is QAction)
|
||||
void resetPositionByAction();
|
||||
|
||||
//! Toggle area floating (sender is QAction)
|
||||
void toggleAreaFloatingByAction();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user