mirror of
https://github.com/QuantumLeaps/qpcpp.git
synced 2025-01-14 05:42:57 +08:00
39 lines
687 B
QML
39 lines
687 B
QML
import QtQuick 2.0
|
|
import QtQuick.Window 2.0
|
|
import QtQuick.Controls 2.0
|
|
import QtQuick.Layouts 1.0
|
|
|
|
Window {
|
|
visible: true
|
|
width: 100
|
|
height: 480
|
|
title: qsTr("DPP")
|
|
|
|
ColumnLayout {
|
|
|
|
Repeater {
|
|
model:5
|
|
Image {
|
|
source: encodeURIComponent(gui.state[index])
|
|
}
|
|
}
|
|
|
|
Button {
|
|
text: gui.button
|
|
onPressed: {
|
|
gui.onPausePressed()
|
|
}
|
|
onReleased: {
|
|
gui.onPauseReleased()
|
|
}
|
|
}
|
|
|
|
Button {
|
|
text: "QUIT"
|
|
onClicked: {
|
|
gui.onQuit()
|
|
}
|
|
}
|
|
}
|
|
}
|