summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/qmldebugger/engine.pngbin0 -> 6394 bytes
-rw-r--r--tools/qmldebugger/engines.qml44
-rw-r--r--tools/qmldebugger/refresh.pngbin0 -> 6169 bytes
3 files changed, 44 insertions, 0 deletions
diff --git a/tools/qmldebugger/engine.png b/tools/qmldebugger/engine.png
new file mode 100644
index 0000000..a0a8a04
--- /dev/null
+++ b/tools/qmldebugger/engine.png
Binary files differ
diff --git a/tools/qmldebugger/engines.qml b/tools/qmldebugger/engines.qml
new file mode 100644
index 0000000..2435f10
--- /dev/null
+++ b/tools/qmldebugger/engines.qml
@@ -0,0 +1,44 @@
+Item {
+ height: 100
+ id: Root
+ signal engineClicked(int id)
+ signal refreshEngines()
+
+ HorizontalLayout {
+ anchors.fill: parent
+ Repeater {
+ dataSource: engines
+ Item {
+ width: 100; height: 100;
+ Image {
+ id: Image;
+ source: "engine.png"
+ anchors.horizontalCenter: parent.horizontalCenter
+ }
+ Text {
+ anchors.top: Image.bottom;
+ text: modelData.name + "(" + modelData.engineId + ")"
+ anchors.horizontalCenter: parent.horizontalCenter
+ }
+ MouseRegion {
+ anchors.fill: parent
+ onClicked: Root.engineClicked(modelData.engineId);
+ }
+ }
+ }
+ }
+
+
+ Image {
+ y: 15
+ source: "refresh.png";
+ width: 75;
+ height: 63;
+ smooth: true
+ anchors.right: parent.right
+ MouseRegion {
+ anchors.fill: parent
+ onClicked: Root.refreshEngines()
+ }
+ }
+}
diff --git a/tools/qmldebugger/refresh.png b/tools/qmldebugger/refresh.png
new file mode 100644
index 0000000..8befc80
--- /dev/null
+++ b/tools/qmldebugger/refresh.png
Binary files differ