ListItemProgress QML Type
The list item with progress bar component of Neptune 3. More...
Since: | Qt 5.11 |
Inherits: |
Properties
- backgroundVisible : bool
- cancelSymbol : string
- cancelable : bool
- indeterminate : bool
- maximumValue : real
- minimumValue : real
- progressVisible : bool
- secondaryText : string
- value : real
Signals
Detailed Description
The ListItemProgress provides a type of a list item with an integrated progress bar.
See Neptune 3 UI Components and Interfaces to see more available components in Neptune 3 UI.
Example Usage
The following example uses ListItemProgress:
import QtQuick 2.10 import shared.controls 1.0 Item { id: root ListView { model: 3 delegate: ListItemProgress { Layout.fillWidth: true icon.name: "ic-update" text: "Downloading the application" secondaryText: value + " % of 46 MB" cancelable: true } } }
Property Documentation
backgroundVisible : bool |
This property holds whether list item background is visible or not.
This property's default is false.
cancelSymbol : string |
This property holds the name of icon to be used as the cancel icon.
This property's default is "ic-close"
cancelable : bool |
This property holds whether the progress is cancelable or not. In case if it's false, cancelSymbol is hidden and cannot be clicked.
This property's default is true.
indeterminate : bool |
This property holds whether the progress bar is in indeterminate mode. A progress bar in indeterminate mode displays that an operation is in progress, but it doesn't show how much progress has been made.
This property's default is false.
maximumValue : real |
This property holds the end value for the progress.
This property's default is 1.0.
minimumValue : real |
This property holds the starting value for the progress.
This property's default is 0.0.
progressVisible : bool |
The property defines whether the progress bar is visible or not.
This property's default is true.
secondaryText : string |
This property holds a textual component that is aligned to the right side of ListItemProgress.
value : real |
This property holds the progress value.
This property's default is 0.0.
Signal Documentation
This signal is emitted when the cancel button is clicked by the user.
Note: The corresponding handler is onProgressCanceled
.
© 2018 Pelagicore AG. 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.