From 29aaea2d80a9eb1715b6cddfac2d2aacf76358bd Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Thu, 11 Feb 2016 23:55:16 +0100 Subject: launchpad ~mzanetti/rockwork/trunk r87 --- .../testing/testui/PebbleController.qml | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 rockworkd/platformintegration/testing/testui/PebbleController.qml (limited to 'rockworkd/platformintegration/testing/testui/PebbleController.qml') diff --git a/rockworkd/platformintegration/testing/testui/PebbleController.qml b/rockworkd/platformintegration/testing/testui/PebbleController.qml new file mode 100644 index 0000000..78861d8 --- /dev/null +++ b/rockworkd/platformintegration/testing/testui/PebbleController.qml @@ -0,0 +1,44 @@ +import QtQuick 2.4 +import QtQuick.Controls 1.3 +import PebbleTest 1.0 + +Column { + spacing: 10 + Label { + text: pebble.name + width: parent.width + } + + Button { + text: "Insert Timeline Pin" + onClicked: { + pebble.insertTimelinePin(); + } + } + Button { + text: "Create Reminder" + onClicked: { + pebble.insertReminder(); + } + } + Button { + text: "Clear Timeline" + onClicked: { + pebble.clearTimeline(); + } + } + Button { + text: "take screenshot" + onClicked: { + pebble.requestScreenshot(); + } + } + + Button { + text: "dump logs" + onClicked: { + pebble.dumpLogs(); + } + } +} + -- cgit v1.2.3