mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 19:35:33 +08:00
refs #680, now display CDockWidget context menus in views/info area
This commit is contained in:
@@ -79,6 +79,11 @@ namespace BlackGui
|
||||
//! \param parent which will own the action (deletion)
|
||||
QList<QAction *> getInfoAreaToggleFloatingActions(QWidget *parent) const;
|
||||
|
||||
//! Create a list of actions to restore the info areas.
|
||||
//! This could be used in a menu or somewhere else.
|
||||
//! \param parent which will own the action (deletion)
|
||||
QList<QAction *> getInfoAreaRestoreActions(QWidget *parent) const;
|
||||
|
||||
//! Docked area indexes
|
||||
QList<int> getAreaIndexesDockedOrFloating(bool floating) const;
|
||||
|
||||
@@ -123,6 +128,12 @@ namespace BlackGui
|
||||
//! Toggle area floating (sender is QAction)
|
||||
void toggleAreaFloatingByAction();
|
||||
|
||||
//! Restore dock widget`s state (from settings)
|
||||
void restoreDockWidgetInfoArea();
|
||||
|
||||
//! Restore dock widget`s state (from settings)
|
||||
void restoreDockWidgetInfoAreaByIndex(int areaIndex);
|
||||
|
||||
//! Select next left tab
|
||||
void selectLeftTab();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user