mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 02:06:08 +08:00
refs #634, find parent tab widget
This commit is contained in:
@@ -77,6 +77,9 @@ namespace BlackGui
|
||||
//! Window on top?
|
||||
static bool staysOnTop(QWidget *widget);
|
||||
|
||||
//! From a given widget try to find parent tab widget (where widget is embedded)
|
||||
static QTabWidget *parentTabWidget(QWidget *widget, int maxLevels = 5);
|
||||
|
||||
private:
|
||||
//! Constructor, use static methods only
|
||||
CGuiUtility() {}
|
||||
|
||||
Reference in New Issue
Block a user