Open 3D Engine AzQtComponents API Reference  2205.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Classes | Static Public Member Functions | Friends | List of all members
AzQtComponents::CheckBox Class Reference

#include <CheckBox.h>


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.


class Style

Detailed Description

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:

Member Function Documentation

◆ loadConfig()

static Config AzQtComponents::CheckBox::loadConfig ( QSettings &  settings)

Sets the CheckBox style configuration.

settingsThe settings object to load the configuration from.
The new configuration of the CheckBox.

The documentation for this class was generated from the following file: