ToggleButton QML Type
A push button that toggles between two states. More...
|Import Statement:||import QtQuick.Extras 1.4|
An unchecked ToggleButton.
A checked ToggleButton.
The ToggleButton is a simple extension of Qt Quick Controls' Button, using the checked property to toggle between two states: checked and unchecked. It enhances the visibility of a checkable button's state by placing color-coded indicators around the button.
You can create a custom appearance for a ToggleButton by assigning a ToggleButtonStyle.
© 2020 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.