File: abortedIncubation.qml

package info (click to toggle)
qt6-declarative 6.9.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 308,920 kB
  • sloc: cpp: 775,911; javascript: 514,247; xml: 10,855; python: 2,806; ansic: 2,253; java: 810; sh: 262; makefile: 41; php: 27
file content (171 lines) | stat: -rw-r--r-- 3,276 bytes parent folder | download | duplicates (2)
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
import QtQuick
import QtQuick.Controls
import QtQuick.Dialogs
import QtQuick.Controls.Basic

ApplicationWindow {
    id: appWindow

    // QQuickDeferredPointer<QQuickItem> background;
    background: Rectangle {
        id: backgroundRect
        color: "black"
    }

    // internal property handle
    ColorDialog {
        id: colorDialog
        options: ColorDialog.DontUseNativeDialog
    }

    // internal property upButton
    // internal property textField
    FolderDialog {
        id: folderDialog
        options: FolderDialog.DontUseNativeDialog
    }

    // indicator property of AbstractButton
    Button {
        id: basicButton
        indicator: Rectangle {
            id: basicButtonIndicator
            color: "pink"
        }
    }

    Dial {
        id: dial
        // QQuickDeferredPointer<QQuickItem> handle;
        handle: Item {
            Rectangle {
                id: dialRect
            }
        }
    }

    GroupBox {
        id: groupBox
        // QQuickDeferredPointer<QQuickItem> label;
        label: Label {
            id: groupBoxLabel
            text: "yo"
        }
    }

    Label {
        id: label
        text: "yo2"
        background: Rectangle {
            id: labelBackground
            color: "green"
        }
    }

    Menu {
        id: menu

        MenuItem {
            id: menuItem
            text: "New..."
            arrow: Rectangle {
                id: menuItemArrow
                color: "pink"
            }
        }
    }

    ScrollBar {
        id: scrollbar
    }

    SpinBox {
        id: spinBox

        up.indicator: Rectangle {
            id: spinBoxUpIndicator
            color: "pink"
        }
        down.indicator: Rectangle {
            id: spinBoxDownIndicator
            color: "blue"
        }
    }

    Control {
        id: genericControl
        background: Rectangle {
            id: genericControlBackground
            color: "red"
        }
        contentItem: Canvas {
            id: genericControlContentItem
        }
    }

    ComboBox {
        id: comboBox
        model: ["foo", "bar"]

        popup: Popup {
            id: comboBoxPopup
            contentItem: ListView {
                ScrollBar.vertical: ScrollBar {}
            }
        }
        indicator: Item {
            id: emptyPopupItem
        }
    }

    Slider {
        id: slider
        // QQuickDeferredPointer<QQuickItem> handle;
        handle: Item {
            Rectangle {
                id: rect
            }
        }
    }

    RangeSlider {
        id: rangeSlider
        first.handle: Item {
            Rectangle {
                id: rangeSliderRect1
            }
        }
        second.handle: Item {
            Rectangle {
                id: rangeSliderRect2
            }
        }
    }

    TextArea {
        id: textArea
        background: Rectangle {
            id: textAreaBackground
            color: "pink"
        }
    }

    TextField {
        id: textField
        background: Rectangle {
            id: textFieldBackground
            color: "pink"
        }
    }

    TabBar {
        id: bar
        TabButton {
            text: qsTr("One")
        }
        TabButton {
            text: qsTr("Two")
        }
    }
}