ProgressBarStyle
Provides custom styling for ProgressBar More...
Import Statement: | import QtQuick.Controls.Styles 1.1 |
Since: | Qt 5.1 |
Properties
- background : Component
- control : ProgressBar
- currentProgress : real
- panel : Component
- progress : Component
Detailed Description
Example:
ProgressBar { value: slider.value style: ProgressBarStyle { background: Rectangle { radius: 2 color: "lightgray" border.color: "gray" border.width: 1 implicitWidth: 200 implicitHeight: 24 } progress: Rectangle { color: "lightsteelblue" border.color: "steelblue" } } }
Property Documentation
The background component for this style.
Note: The implicitWidth and implicitHeight of the background component must be set.
read-onlycontrol : ProgressBar |
The ProgressBar attached to this style.