aboutsummaryrefslogtreecommitdiffstats
path: root/tests/baseline/controls/data/groupBox/groupbox.qml
blob: 25834b93f14c15ee2ce6cd169b9933d7321d1e58 (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
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts

ColumnLayout {
    GroupBox {
        title: "Title 1"
        label: CheckBox {
            text: "I am CheckBox label in a GroupBox"
            checked: true
        }
    }

    GroupBox {
        title: "Title 2"
        label: Label {
            text: "I am Text label in GroupBox"
        }
    }

    GroupBox {
        title: "Title"
        ColumnLayout {
            anchors.fill: parent
            CheckBox { text: "E-mail" }
            CheckBox { text: "Calendar" }
            CheckBox { text: "Contacts" }
        }
    }
}