StyleHints QML Type
An attached type that contains hints for styles to use. More...
| Import Statement: | import org.kde.kirigami.platform |
| In C++: | StyleHints |
Properties
- iconName : string
- iconSource : url
- showFramedBackground : bool
- tickMarkStepSize : int
- useAlternateBackgroundColor : bool
Detailed Description
The properties of StyleHints can be used by QtQuick styles to adjust how certain things look. Generally these properties are used to supplement the QtQuick Controls APIs is some way.
Property Documentation
iconName : string |
An icon theme name for an icon.
To be used for controls that lack their own icon property, such as ComboBox.
iconSource : url |
An icon source URL for an icon.
To be used for controls that lack their own icon property, such as ComboBox.
showFramedBackground : bool |
Should the background use a framed rather than a plain style.
Primarily intended for ScrollViews to indicate that the ScrollView should draw a frame.
tickMarkStepSize : int |
The step size to show tick marks at.
A step size of 0 or less results in no tick marks being shown. This is mainly intended to be used by sliders.
useAlternateBackgroundColor : bool |
Should the background color use an alternating colors style.