Switch to unified view

a/src/qtgui/uiprefs.ui b/src/qtgui/uiprefs.ui
...
...
6
    </property>
6
    </property>
7
    <property name="geometry">
7
    <property name="geometry">
8
        <rect>
8
        <rect>
9
            <x>0</x>
9
            <x>0</x>
10
            <y>0</y>
10
            <y>0</y>
11
            <width>385</width>
11
            <width>455</width>
12
            <height>280</height>
12
            <height>238</height>
13
        </rect>
13
        </rect>
14
    </property>
14
    </property>
15
    <property name="caption">
15
    <property name="caption">
16
        <string>MyDialog</string>
16
        <string>MyDialog</string>
17
    </property>
17
    </property>
...
...
37
                    <property name="name">
37
                    <property name="name">
38
                        <cstring>unnamed</cstring>
38
                        <cstring>unnamed</cstring>
39
                    </property>
39
                    </property>
40
                    <widget class="QLayoutWidget">
40
                    <widget class="QLayoutWidget">
41
                        <property name="name">
41
                        <property name="name">
42
                            <cstring>layout4</cstring>
42
                            <cstring>layout10</cstring>
43
                        </property>
43
                        </property>
44
                        <grid>
44
                        <vbox>
45
                            <property name="name">
45
                            <property name="name">
46
                                <cstring>unnamed</cstring>
46
                                <cstring>unnamed</cstring>
47
                            </property>
47
                            </property>
48
                            <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
48
                            <widget class="QLayoutWidget">
49
                                <property name="name">
50
                                    <cstring>layout5</cstring>
51
                                </property>
52
                                <hbox>
49
                                <property name="name">
53
                                    <property name="name">
50
                                    <cstring>textLabel1</cstring>
54
                                        <cstring>unnamed</cstring>
51
                                </property>
55
                                    </property>
56
                                    <widget class="QLabel">
57
                                        <property name="name">
58
                                            <cstring>textLabel1</cstring>
59
                                        </property>
60
                                        <property name="sizePolicy">
61
                                            <sizepolicy>
62
                                                <hsizetype>5</hsizetype>
63
                                                <vsizetype>5</vsizetype>
64
                                                <horstretch>1</horstretch>
65
                                                <verstretch>0</verstretch>
66
                                            </sizepolicy>
67
                                        </property>
52
                                <property name="text">
68
                                        <property name="text">
53
                                    <string>Number of entries in a result page</string>
69
                                            <string>Number of entries in a result page</string>
54
                                </property>
70
                                        </property>
55
                            </widget>
71
                                    </widget>
72
                                    <widget class="QSpinBox">
73
                                        <property name="name">
74
                                            <cstring>pageLenSB</cstring>
75
                                        </property>
76
                                        <property name="minValue">
77
                                            <number>1</number>
78
                                        </property>
79
                                        <property name="value">
80
                                            <number>8</number>
81
                                        </property>
82
                                    </widget>
83
                                </hbox>
84
                            </widget>
56
                            <widget class="QLabel" row="1" column="0">
85
                            <widget class="QLayoutWidget">
86
                                <property name="name">
87
                                    <cstring>layout6</cstring>
88
                                </property>
89
                                <hbox>
57
                                <property name="name">
90
                                    <property name="name">
58
                                    <cstring>textLabel3</cstring>
91
                                        <cstring>unnamed</cstring>
59
                                </property>
92
                                    </property>
93
                                    <widget class="QLabel">
94
                                        <property name="name">
95
                                            <cstring>textLabel3</cstring>
96
                                        </property>
60
                                <property name="text">
97
                                        <property name="text">
61
                                    <string>Result list font</string>
98
                                            <string>Result list font</string>
62
                                </property>
99
                                        </property>
63
                            </widget>
100
                                    </widget>
64
                            <widget class="QPushButton" row="1" column="1" rowspan="1" colspan="2">
101
                                    <widget class="QPushButton">
102
                                        <property name="name">
103
                                            <cstring>reslistFontPB</cstring>
104
                                        </property>
105
                                        <property name="text">
106
                                            <string>Helvetica-10</string>
107
                                        </property>
108
                                        <property name="toolTip" stdset="0">
109
                                            <string>Opens a dialog to select the result list font</string>
110
                                        </property>
111
                                    </widget>
112
                                    <widget class="QPushButton">
113
                                        <property name="name">
114
                                            <cstring>resetFontPB</cstring>
115
                                        </property>
116
                                        <property name="text">
117
                                            <string>Reset</string>
118
                                        </property>
119
                                        <property name="toolTip" stdset="0">
120
                                            <string>Resets the result list font to the system default</string>
121
                                        </property>
122
                                    </widget>
123
                                </hbox>
124
                            </widget>
125
                            <widget class="QLayoutWidget">
126
                                <property name="name">
127
                                    <cstring>layout9</cstring>
128
                                </property>
129
                                <hbox>
65
                                <property name="name">
130
                                    <property name="name">
66
                                    <cstring>reslistFontPB</cstring>
131
                                        <cstring>unnamed</cstring>
67
                                </property>
132
                                    </property>
68
                                <property name="text">
69
                                    <string>Helvetica-10</string>
70
                                </property>
71
                                <property name="toolTip" stdset="0">
72
                                    <string>Opens a dialog to select the result list font</string>
73
                                </property>
74
                            </widget>
133
                                    <widget class="QLabel">
75
                            <widget class="QSpinBox" row="0" column="2" rowspan="1" colspan="2">
76
                                <property name="name">
134
                                        <property name="name">
77
                                    <cstring>pageLenSB</cstring>
135
                                            <cstring>textLabel1_3</cstring>
78
                                </property>
136
                                        </property>
79
                                <property name="minValue">
137
                                        <property name="text">
80
                                    <number>1</number>
138
                                            <string>HTML help browser</string>
81
                                </property>
139
                                        </property>
140
                                    </widget>
141
                                    <widget class="QLineEdit">
82
                                <property name="value">
142
                                        <property name="name">
83
                                    <number>8</number>
143
                                            <cstring>helpBrowserLE</cstring>
84
                                </property>
144
                                        </property>
145
                                        <property name="minimumSize">
146
                                            <size>
147
                                                <width>200</width>
148
                                                <height>0</height>
149
                                            </size>
150
                                        </property>
85
                            </widget>
151
                                    </widget>
86
                            <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="4">
152
                                    <widget class="QPushButton">
153
                                        <property name="name">
154
                                            <cstring>helpBrowserPB</cstring>
155
                                        </property>
156
                                        <property name="text">
157
                                            <string>Select file</string>
158
                                        </property>
159
                                    </widget>
160
                                </hbox>
161
                            </widget>
162
                            <widget class="QCheckBox">
87
                                <property name="name">
163
                                <property name="name">
88
                                    <cstring>useIconsCB</cstring>
164
                                    <cstring>useIconsCB</cstring>
89
                                </property>
165
                                </property>
90
                                <property name="text">
166
                                <property name="text">
91
                                    <string>Show document type icons in result list</string>
167
                                    <string>Show document type icons in result list</string>
92
                                </property>
168
                                </property>
93
                                <property name="checked">
169
                                <property name="checked">
94
                                    <bool>true</bool>
170
                                    <bool>true</bool>
95
                                </property>
171
                                </property>
96
                            </widget>
172
                            </widget>
97
                            <widget class="QPushButton" row="1" column="3">
98
                                <property name="name">
99
                                    <cstring>resetFontPB</cstring>
100
                                </property>
101
                                <property name="text">
102
                                    <string>Reset</string>
103
                                </property>
104
                                <property name="toolTip" stdset="0">
105
                                    <string>Resets the result list font to the system default</string>
106
                                </property>
107
                            </widget>
108
                        </grid>
173
                        </vbox>
109
                    </widget>
174
                    </widget>
110
                </vbox>
175
                </vbox>
111
            </widget>
176
            </widget>
112
            <widget class="QWidget">
177
            <widget class="QWidget">
113
                <property name="name">
178
                <property name="name">
...
...
300
</signals>
365
</signals>
301
<slots>
366
<slots>
302
    <slot access="protected">accept()</slot>
367
    <slot access="protected">accept()</slot>
303
    <slot>showFontDialog()</slot>
368
    <slot>showFontDialog()</slot>
304
    <slot>resetReslistFont()</slot>
369
    <slot>resetReslistFont()</slot>
370
    <slot>showBrowserDialog()</slot>
305
</slots>
371
</slots>
306
<functions>
372
<functions>
307
    <function>init()</function>
373
    <function>init()</function>
308
</functions>
374
</functions>
309
<layoutdefaults spacing="6" margin="11"/>
375
<layoutdefaults spacing="6" margin="11"/>