Index: sources/gui/qml/compounds/AutoStepController.qml =================================================================== diff -u -r19acf57838bc97979052d626f3e05d46310b6335 -rac81e21684bfb1c72b8ef86bfeda04e174e5066e --- sources/gui/qml/compounds/AutoStepController.qml (.../AutoStepController.qml) (revision 19acf57838bc97979052d626f3e05d46310b6335) +++ sources/gui/qml/compounds/AutoStepController.qml (.../AutoStepController.qml) (revision ac81e21684bfb1c72b8ef86bfeda04e174e5066e) @@ -1,19 +1,14 @@ -// Qt import QtQuick 2.12 -// Qml imports -import "qrc:/globals" import "qrc:/components" +import "qrc:/globals" -IconButton { id : _root +Item { id: _root property int interval : 5000 property bool isPlaying : false // initial state - iconImageSource : _root.isPlaying ? "qrc:/images/iPause" : "qrc:/images/iPlay" - isDefault : true + height : 35 - onClicked : _root.isPlaying = ! _root.isPlaying - signal triggered() Timer { id: _stepTimer @@ -23,4 +18,30 @@ onTriggered : _root.triggered() } + + IconButton { id : _button + anchors.verticalCenter : _root.verticalCenter + iconImageSource : _root.isPlaying ? "qrc:/images/iPause" : "qrc:/images/iPlay" + isDefault : true + + onClicked : _root.isPlaying = ! _root.isPlaying + } + + + Text { id: _helpText + anchors { + left : _button.right + leftMargin : Variables.defaultMargin + verticalCenter : _root.verticalCenter + } + + text : qsTr("Tap step to view image, or press play to cycle.") + color : "#3682ED" + font { + pixelSize : 30 + weight : Font.Medium + } + + wrapMode: Text.WordWrap + } }