ToggleButtonStyle QML Type
Provides custom styling for ToggleButton. More...
Import Statement: | import QtQuick.Controls.Styles 1.4 |
Since: | Qt 5.5 |
Properties
- checkedDropShadowColor : color
- checkedGradient : Gradient
- control : ToggleButton
- inactiveGradient : Gradient
- uncheckedDropShadowColor : color
- uncheckedGradient : Gradient
Detailed Description
You can create a custom toggle button by replacing the same delegates that ButtonStyle provides.
Property Documentation
checkedDropShadowColor : color |
The color that is used for the drop shadow below the checked state indicator.
See also uncheckedDropShadowColor.
checkedGradient : Gradient |
The gradient that is displayed on the checked state indicator.
See also uncheckedGradient and inactiveGradient.
[read-only] control : ToggleButton |
The ToggleButton that this style is attached to.
inactiveGradient : Gradient |
The gradient that is displayed on the inactive state indicator. The inactive state indicator will be the checked gradient when the button is unchecked, and the unchecked gradient when the button is checked.
See also checkedGradient and uncheckedGradient.
uncheckedDropShadowColor : color |
The color that is used for the drop shadow below the checked state indicator.
See also checkedDropShadowColor.
uncheckedGradient : Gradient |
The gradient that is displayed on the unchecked state indicator.
See also checkedGradient and inactiveGradient.
© 2019 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.