aboutsummaryrefslogtreecommitdiffstats
path: root/tests/baseline/controls/data/groupBox/groupbox.qml
blob: b7930a1b35769ede6fefce1b413996706cbfc17f (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: Text {
            text: "I am Text label in GroupBox"
        }
    }

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