mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 15:25:34 +08:00
refs 419, improved pilot client navigator
* added setting and allow to restore/save state * allow to set margins * fixed style sheet * moved margin function to utility
This commit is contained in:
@@ -94,6 +94,12 @@ namespace BlackGui
|
||||
//! From a given widget try to find parent tab widget (where widget is embedded)
|
||||
static QTabWidget *parentTabWidget(QWidget *widget, int maxLevels = 5);
|
||||
|
||||
//! Convert to string
|
||||
static QString marginsToString(const QMargins &margins);
|
||||
|
||||
//! Convert from string
|
||||
static QMargins stringToMargins(const QString &str);
|
||||
|
||||
private:
|
||||
//! Constructor, use static methods only
|
||||
CGuiUtility() {}
|
||||
|
||||
Reference in New Issue
Block a user