/usr/lib/python3/dist-packages/plainbox/impl/providers/stubbox/data/qml-simple.qml is in python3-plainbox 0.25-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | import QtQuick 2.0
import Ubuntu.Components 0.1
import QtQuick.Layouts 1.1
import Plainbox 0.1
QmlJob {
id: root
Component.onCompleted: testingShell.pageStack.push(testPage)
Page {
id: testPage
ColumnLayout {
spacing: units.gu(10)
anchors {
margins: units.gu(5)
fill: parent
}
Button {
Layout.fillWidth: true; Layout.fillHeight: true
text: i18n.tr("Pass")
color: "#38B44A"
onClicked: {
testDone({'outcome': 'pass'});
}
}
Button {
Layout.fillWidth: true; Layout.fillHeight: true
text: i18n.tr("Fail")
color: "#DF382C"
onClicked: {
testDone({"outcome": "fail"});
}
}
}
}
}
|