Fixes some issues with navigator widget to avoid Qt size warnings.

Remarks: Some but not all warnings are gone
This commit is contained in:
Klaus Basan
2015-05-02 00:37:38 +02:00
committed by Mathew Sutcliffe
parent 018c5ae1bf
commit 91f0b99cc5
9 changed files with 59 additions and 60 deletions

View File

@@ -139,7 +139,7 @@ namespace BlackGui
//! Init area after(!) GUI is initialized
void initInfoArea();
protected:
protected slots:
//! Tab position for docked widgets tab
//! \remarks North or South working, East / West not
void ps_setTabBarPosition(QTabWidget::TabPosition position);
@@ -161,18 +161,18 @@ namespace BlackGui
//! Valid area index?
bool isValidAreaIndex(int areaIndex) const;
//! Corresponding dockable widget for given tab index
CDockWidgetInfoArea *getDockWidgetInfoAreaByTabBarIndex(int tabBarIndex);
//! Corresponding dockable widget for given window title
CDockWidgetInfoArea *getDockWidgetInfoAreaByWindowTitle(const QString &title);
//! Corresponding dockable widget for given window title
int getAreaIndexByWindowTitle(const QString &title) const;
//! Tab bar index by title
int getTabBarIndexByTitle(const QString &title) const;
//! Corresponding dockable widget for given tab index
CDockWidgetInfoArea *getDockWidgetInfoAreaByTabBarIndex(int tabBarIndex) const;
//! Corresponding dockable widget for given window title
CDockWidgetInfoArea *getDockWidgetInfoAreaByWindowTitle(const QString &title) const;
//! Widget to tab bar index
int dockWidgetInfoAreaToTabBarIndex(const CDockWidgetInfoArea *dockWidgetInfoArea) const;