summaryrefslogtreecommitdiff
path: root/src/widgets/GroupBox.qml
blob: fcac43e2ac8455bf377979b1bf07065f0a3cbd1a (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
import QtQuick 1.0
import "custom" as Components
import "plugin"

Item {
    width:200
    height:46

    property alias text: styleitem.text
    default property alias children: content.children
    property bool checkable: false

    QStyleBackground {
        anchors.fill:parent
        style: QStyleItem{
            id:styleitem
            elementType:"groupbox"
        }

        Item {
            id:content
            anchors.topMargin:22
            anchors.leftMargin:6
            anchors.fill:parent
        }
    }
}