qratman
25th April 2015, 22:01
Hi,
For some reason I can't set the programs taskbar progress indicator red as documented here (http://doc.qt.io/qt-5/qml-qtwinextras-taskbarbutton.html) and here (http://doc.qt.io/qt-5/qwintaskbarprogress.html#details). Setting paused to true
works fine by turning the color yellow.
import QtWinExtras 1.0
ApplicationWindow{
...
TaskbarButton{
id: taskbar
progress.visible: true
progress.stopped: true // should turn it red
progress.value: 95
}
...
}
The runtime output is: qrc:/main.qml:8 Invalid property assignment: "stopped" is a read-only property
How can I see inside the QtWinExtras module to make sure how it is defined?
The Qt version I am using is: 5.4.1
For some reason I can't set the programs taskbar progress indicator red as documented here (http://doc.qt.io/qt-5/qml-qtwinextras-taskbarbutton.html) and here (http://doc.qt.io/qt-5/qwintaskbarprogress.html#details). Setting paused to true
works fine by turning the color yellow.
import QtWinExtras 1.0
ApplicationWindow{
...
TaskbarButton{
id: taskbar
progress.visible: true
progress.stopped: true // should turn it red
progress.value: 95
}
...
}
The runtime output is: qrc:/main.qml:8 Invalid property assignment: "stopped" is a read-only property
How can I see inside the QtWinExtras module to make sure how it is defined?
The Qt version I am using is: 5.4.1