mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55:36 +08:00
refs #577, make read only checkboxes better readable
(by not disabling them, but using a little trick)
This commit is contained in:
@@ -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() {}
|
||||
|
||||
Reference in New Issue
Block a user