ListViewSpecifics.qml 3.12 KB
Newer Older
1 2 3
import Qt 4.6
import Bauhaus 1.0

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


14 15 16
            GroupBox {
                finished: finishedNotify;
                caption: "List View";
17

18 19 20 21 22
                layout: QVBoxLayout {
                    topMargin: 15;
                    bottomMargin: 6;
                    leftMargin: 0;
                    rightMargin: 0;
23

24 25 26
                    QWidget {
                        id: contentWidget;
                        maximumHeight: 260;
27

28 29 30 31 32
                        layout: QHBoxLayout {
                            topMargin: 0;
                            bottomMargin: 0;
                            leftMargin: 10;
                            rightMargin: 10;
33

34 35 36 37 38 39 40 41 42 43 44
                            QWidget {
                                layout: QVBoxLayout {
                                    topMargin: 0;
                                    bottomMargin: 0;
                                    leftMargin: 0;
                                    rightMargin: 0;
                                    QLabel {
                                        minimumHeight: 22;
                                        text: "Highlight:"
                                        font.bold: true;
                                    }
45

46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
                                    QLabel {
                                        minimumHeight: 22;
                                        text: "Spacing:"
                                        font.bold: true;
                                    }
                                }
                            }

                            QWidget {
                                layout: QVBoxLayout {
                                    topMargin: 0;
                                    bottomMargin: 0;
                                    leftMargin: 0;
                                    rightMargin: 0;

                                    CheckBox {
                                        id: highlightFollowsCurrentItemCheckBox;
                                        text: "Follows";
                                        backendValue: backendValues.highlightFollowsCurrentItem;
                                        baseStateFlag: isBaseState;
                                        checkable: true;
                                    }
68

69 70 71 72 73 74 75 76 77 78 79 80 81 82
                                    SpinBox {
                                        id: spacingSpinBox;
                                        objectName: "spacingSpinBox";
                                        backendValue: backendValues.spacing;
                                        minimumWidth: 30;
                                        minimum: 0;
                                        maximum: 1000;
                                        singleStep: 1;
                                        baseStateFlag: isBaseState;
                                    }

                                }
                            }
                        }
83 84 85
                    }
                }
            }
86

87 88
        }
    }