refs #680, now display CDockWidget context menus in views/info area

This commit is contained in:
Klaus Basan
2016-06-21 00:29:15 +02:00
parent 44bfcc2d9c
commit c1179ed52b
10 changed files with 91 additions and 11 deletions

View File

@@ -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();