mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
Ref T184, keep list of child widgets, do not always search
This commit is contained in:
@@ -190,7 +190,8 @@ namespace BlackGui
|
||||
void ps_toggleTabBarLocked(bool locked);
|
||||
|
||||
private:
|
||||
QList<CDockWidgetInfoArea *> m_dockWidgetInfoAreas ;
|
||||
QList<CDockWidgetInfoArea *> m_dockWidgetInfoAreas;
|
||||
QList<CInfoArea *> m_childInfoAreas;
|
||||
QTabBar *m_tabBar = nullptr;
|
||||
bool m_showTabTexts = true; //!< texts for tabs
|
||||
bool m_infoAreaFloating = false; //!< whole info area floating?
|
||||
@@ -234,10 +235,12 @@ namespace BlackGui
|
||||
void connectTopLevelChanged();
|
||||
|
||||
//! Nested info areas
|
||||
//! \remark weak performance as discussed in T184
|
||||
//! \remark result stored in m_childInfoAreas
|
||||
QList<CInfoArea *> getChildInfoAreas() const { return this->findChildren<CInfoArea *>(); }
|
||||
|
||||
//! Direct dock widget areas, not the nested dock widget areas
|
||||
//! \remarks result stored in m_dockableWidgets
|
||||
//! \remark result stored in m_dockableWidgets
|
||||
QList<CDockWidgetInfoArea *> findOwnDockWidgetInfoAreas() const;
|
||||
|
||||
private slots:
|
||||
|
||||
Reference in New Issue
Block a user