GridSpecifics.qml 1.3 KB
Newer Older
1
import Qt 4.7
2 3
import Bauhaus 1.0

4 5 6 7 8 9 10 11 12 13
QWidget {
    layout: QVBoxLayout {
        topMargin: 0
        bottomMargin: 0
        leftMargin: 0
        rightMargin: 0
        spacing: 0
GroupBox {


14 15 16 17
GroupBox {
    maximumHeight: 200;

    finished: finishedNotify;
18
    caption: qsTr("Grid")
19
    id: gridSpecifics;
20 21 22 23 24 25 26 27 28 29 30 31

    layout: QVBoxLayout {

        topMargin: 18;
        bottomMargin: 2;
        leftMargin: 8;
        rightMargin: 8;


            IntEditor {
                id: spacing;
                backendValue: backendValues.spacing;
32
                caption: qsTr("Spacing")
33 34 35
                baseStateFlag: isBaseState;
                step: 1;
                minimumValue: 0;
36
                maximumValue: 200;
37 38 39 40 41
            }

            IntEditor {
                id: rows;
                backendValue: backendValues.rows;
42
                caption: qsTr("Rows")
43 44
                baseStateFlag: isBaseState;
                step: 1;
45 46
                minimumValue: 1;
                maximumValue: 20;
47 48 49 50 51
            }

            IntEditor {
                id: columns;
                backendValue: backendValues.columns;
52
                caption: qsTr("Columns")
53 54
                baseStateFlag: isBaseState;
                step: 1;
55 56
                minimumValue: 1;
                maximumValue: 20;
57 58 59
            }
    }
}
60 61 62

}
}