aboutsummaryrefslogtreecommitdiffstats
path: root/tests/baseline/controls/data/spinbox/spinbox.qml
blob: 244e9fb10bdea7492a5bd721564b5089bc990fb6 (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
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts

ColumnLayout {
    spacing: 4
    width: 200

    SpinBox {
        value: 10
    }

    SpinBox {
        value: 10
        enabled: false
    }

    SpinBox {
        value: 10
        focus: true
    }

    SpinBox {
        value: 10
        LayoutMirroring.enabled: true
    }

    SpinBox {
        value: 10
        editable: true
    }

    SpinBox {
        value: 10
        up.hovered: true
    }

    SpinBox {
        value: 10
        up.pressed: true
    }

    SpinBox {
        value: 10
        down.hovered: true
    }

    SpinBox {
        value: 10
        down.pressed: true
    }
}