#include <CheckBox.h>
Classes | |
struct | Config |
Style configuration for the CheckBox class. More... | |
Static Public Member Functions | |
static void | applyToggleSwitchStyle (QCheckBox *checkBox) |
Applies the "ToggleSwitch" style class to a QCheckBox. | |
static void | applyExpanderStyle (QCheckBox *checkBox) |
Applies the "Expander" style class to a QCheckBox. | |
static void | setVisibilityMode (QAbstractItemView *view, bool enabled) |
Applies the "Visibility" style class to checkable items in an item view. | |
static Config | loadConfig (QSettings &settings) |
static Config | defaultConfig () |
Gets the default CheckBox style configuration. | |
Friends | |
class | Style |
Class to handle styling and painting of Checkboxes, including ToggleSwitches. Instantiate a regular QCheckbox, then call this class to change style as needed. There are currently two built-in styles:
|
static |