mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 15:25:34 +08:00
refs #608, generic menus are now available via CGuiApplication and don`t have to be redefined over and over again
This commit is contained in:
committed by
Mathew Sutcliffe
parent
bf9ea12a2b
commit
bcb00b1b91
@@ -25,7 +25,6 @@ namespace BlackGui
|
||||
//! GUI utilities
|
||||
class BLACKGUI_EXPORT CGuiUtility
|
||||
{
|
||||
|
||||
public:
|
||||
//! Main (frameless enabled) application window
|
||||
static CEnableForFramelessWindow *mainFramelessEnabledApplicationWindow();
|
||||
@@ -72,6 +71,12 @@ namespace BlackGui
|
||||
//! Pseudo readonly state for checkbox
|
||||
static void checkBoxReadOnly(QCheckBox *checkBox, bool readOnly);
|
||||
|
||||
//! Toogle window flags / stay on top
|
||||
static bool toggleStayOnTop(QWidget *widget);
|
||||
|
||||
//! Window on top?
|
||||
static bool staysOnTop(QWidget *widget);
|
||||
|
||||
private:
|
||||
//! Constructor, use static methods only
|
||||
CGuiUtility() {}
|
||||
|
||||
Reference in New Issue
Block a user