refs #577, make read only checkboxes better readable

(by not disabling them, but using a little trick)
This commit is contained in:
Klaus Basan
2016-02-04 03:24:49 +01:00
parent de27c2af8a
commit 021530f2b5
4 changed files with 34 additions and 5 deletions

View File

@@ -17,6 +17,7 @@
#include "enableforframelesswindow.h"
#include <QWidgetList>
#include <QComboBox>
#include <QCheckBox>
#include <QCommandLineParser>
namespace BlackGui
@@ -80,6 +81,9 @@ namespace BlackGui
//! Metatype
static const QString &swiftJsonDragAndDropMimeType();
//! Pseudo readonly state for checkbox
static void checkBoxReadOnly(QCheckBox *checkBox, bool readOnly);
private:
//! Constructor, use static methods only
CGuiUtility() {}