summaryrefslogtreecommitdiffstats
path: root/src/imports/gestures/plugins.qmltypes
blob: dbb82b066d908da7459f91042d2766018a7ed976 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
import QtQuick.tooling 1.1

// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated with the command 'qml1plugindump Qt.labs.gestures 1.0'.

Module {
    Component {
        name: "QDeclarativeGestureArea"
        defaultProperty: "data"
        prototype: "QDeclarativeItem"
        exports: ["GestureArea 1.0"]
        Property { name: "gesture"; type: "QGesture"; isReadonly: true; isPointer: true }
    }
    Component {
        name: "QGesture"
        prototype: "QObject"
        exports: ["Gesture 1.0"]
        Property { name: "state"; type: "Qt::GestureState"; isReadonly: true }
        Property { name: "gestureType"; type: "Qt::GestureType"; isReadonly: true }
        Property { name: "gestureCancelPolicy"; type: "QGesture::GestureCancelPolicy" }
        Property { name: "hotSpot"; type: "QPointF" }
        Property { name: "hasHotSpot"; type: "bool"; isReadonly: true }
    }
    Component {
        name: "QPanGesture"
        prototype: "QGesture"
        exports: ["PanGesture 1.0"]
        Property { name: "lastOffset"; type: "QPointF" }
        Property { name: "offset"; type: "QPointF" }
        Property { name: "delta"; type: "QPointF"; isReadonly: true }
        Property { name: "acceleration"; type: "double" }
        Property { name: "horizontalVelocity"; type: "double" }
        Property { name: "verticalVelocity"; type: "double" }
    }
    Component {
        name: "QPinchGesture"
        prototype: "QGesture"
        exports: ["PinchGesture 1.0"]
        Enum {
            name: "ChangeFlag"
            values: {
                "ScaleFactorChanged": 1,
                "RotationAngleChanged": 2,
                "CenterPointChanged": 4
            }
        }
        Enum {
            name: "ChangeFlags"
            values: {
                "ScaleFactorChanged": 1,
                "RotationAngleChanged": 2,
                "CenterPointChanged": 4
            }
        }
        Property { name: "totalChangeFlags"; type: "ChangeFlags" }
        Property { name: "changeFlags"; type: "ChangeFlags" }
        Property { name: "totalScaleFactor"; type: "double" }
        Property { name: "lastScaleFactor"; type: "double" }
        Property { name: "scaleFactor"; type: "double" }
        Property { name: "totalRotationAngle"; type: "double" }
        Property { name: "lastRotationAngle"; type: "double" }
        Property { name: "rotationAngle"; type: "double" }
        Property { name: "startCenterPoint"; type: "QPointF" }
        Property { name: "lastCenterPoint"; type: "QPointF" }
        Property { name: "centerPoint"; type: "QPointF" }
    }
    Component {
        name: "QSwipeGesture"
        prototype: "QGesture"
        exports: ["SwipeGesture 1.0"]
        Enum {
            name: "SwipeDirection"
            values: {
                "NoDirection": 0,
                "Left": 1,
                "Right": 2,
                "Up": 3,
                "Down": 4
            }
        }
        Property { name: "horizontalDirection"; type: "SwipeDirection"; isReadonly: true }
        Property { name: "verticalDirection"; type: "SwipeDirection"; isReadonly: true }
        Property { name: "swipeAngle"; type: "double" }
        Property { name: "velocity"; type: "double" }
    }
    Component {
        name: "QTapAndHoldGesture"
        prototype: "QGesture"
        exports: ["TapAndHoldGesture 1.0"]
        Property { name: "position"; type: "QPointF" }
    }
    Component {
        name: "QTapGesture"
        prototype: "QGesture"
        exports: ["TapGesture 1.0"]
        Property { name: "position"; type: "QPointF" }
    }
}