ToggleButton QML Type
A push button that toggles between two states. More...
Import Statement: | import QtQuick.Extras 1.4 |
Since: | Qt 5.5 |
Inherits: |
Detailed Description
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.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.14/qml-qtquick-extras-togglebutton.html