s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Editor Classes
Checkbox
chevron_left
Editor Classes
class
Checkbox
search
Constructors
functions
Checkbox
Fields
crop_din
Clicked
crop_din
Pressed
crop_din
Released
crop_din
StateChanged
crop_din
Toggled
Properties
data_object
Icon
data_object
State
data_object
Text
data_object
TriState
data_object
Value
Methods
lock
OnClicked
lock
OnPressed
lock
OnReleased
lock
OnStateChanged
lock
OnToggled
Checkbox
A generic checkbox widget.
class
Editor
.
account_tree
extends
Widget
Sandbox.Tools
build
Constructors
1
Checkbox
(
parent
)
crop_din
Fields
5
Clicked
Action
Pressed
Action
Released
Action
StateChanged
Action`1
Toggled
Action
data_object
Properties
5
Icon
string
Name of a material icon to be drawn in front of the checkbox label.
State
CheckState
Current state of this checkbox.
Text
string
The checkbox label.
TriState
bool
Enable the third state, the half checked half not checked state. Disabled by default
Value
bool
Whether the checkbox is checked or not.
functions
Methods
5
OnClicked
(
)
Called when checkbox was clicked, on release.
OnPressed
(
)
Called when checkbox was pressed down.
OnReleased
(
)
Called when checkbox was released.
OnStateChanged
(
state
)
Called when the Editor.Checkbox.State of the checkbox states.
OnToggled
(
)
Called when checkbox gets toggled on or off.
Inheritance
QObject
Widget
Checkbox
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.