aboutsummaryrefslogtreecommitdiffstats
path: root/mobility/feedback/MainPage.qml
blob: 4678be9cd075da57418e28914ec897025a6c40cb (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


import QtQuick 1.1
import com.nokia.meego 1.0

Page {
    id: mainPage
    anchors.margins: rootWindow.pageMargin

    Flow {
        anchors.top: parent.top
        anchors.right: parent.right
        anchors.left: parent.left
        anchors.margins: 10

        spacing: 10

        Button {
            id: rumble
            text: "Rumble"
            onClicked: effectPlayer.playRumble()
        }

        Button {
            id: ocean
            text: "Ocean"
            onClicked: effectPlayer.playOcean()
        }

        Button {
            id: buttonClick
            text: "Button Click"
            onClicked: effectPlayer.playButtonClick()
        }

        Button {
            id: negativeEffect
            text: "Negative Effect"
            onClicked: effectPlayer.playNegativeEffect()
        }
    }

}