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:
Klaus Basan
2016-03-02 23:25:12 +01:00
committed by Mathew Sutcliffe
parent bf9ea12a2b
commit bcb00b1b91
18 changed files with 352 additions and 393 deletions

View File

@@ -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() {}