Switch QML Type
A component that can be turned on or off More...
|Import Statement:||import UIComponents 1.0|
- on : bool
A toggle switch has two states: an
on and an
off state. The
off state is when the on property is set to
The ToggleSwitch component is part of the UI Components module.
This documentation is part of the UIComponents example.
A method to toggle the switch. If the switch is
on, the toggling it will turn it
off. Toggling a switch in the
off position will turn it
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.