summaryrefslogtreecommitdiff
path: root/rockworkd/platformintegration/testing/testui/PebbleController.qml
blob: 78861d8b498bf4d13e7429912efaf03514ecbd4f (plain)
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
41
42
43
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();
        }
    }
}