1
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
2
<class>toDatabaseSettingUI</class>
3
<widget class="QWidget">
5
<cstring>toDatabaseSettingUI</cstring>
7
<property name="geometry">
15
<property name="caption">
16
<string>toDatabaseSettingUI</string>
18
<property name="layoutMargin" stdset="0">
21
<property name="name">
22
<cstring>unnamed</cstring>
24
<property name="margin">
27
<property name="spacing">
30
<widget class="QCheckBox" row="0" column="0">
31
<property name="name">
32
<cstring>AutoCommit</cstring>
34
<property name="text">
35
<string>&Autocommit changes</string>
37
<property name="toolTip" stdset="0">
38
<string>Specify if changes should be automatically commited.</string>
41
<widget class="QComboBox" row="1" column="0">
43
<property name="text">
44
<string>Start read object cache when needed</string>
48
<property name="text">
49
<string>Read object cache on connect</string>
53
<property name="text">
54
<string>Never read object cache until mandatory</string>
58
<property name="text">
59
<string>Never read object cache (Will leave parts of application nonfunctianal)</string>
62
<property name="name">
63
<cstring>ObjectCache</cstring>
66
<widget class="QGroupBox" row="2" column="0">
67
<property name="name">
68
<cstring>QueryGroup</cstring>
70
<property name="frameShape">
73
<property name="frameShadow">
76
<property name="title">
77
<string>Query settings</string>
80
<property name="name">
81
<cstring>unnamed</cstring>
83
<property name="margin">
86
<property name="spacing">
89
<widget class="QLabel" row="2" column="0">
90
<property name="name">
91
<cstring>TextLabel6_2_2</cstring>
93
<property name="text">
94
<string>Maximum size &display</string>
96
<property name="buddy" stdset="0">
97
<cstring>MaxColDisp</cstring>
99
<property name="toolTip" stdset="0">
100
<string>The largest default size of a column in query results.</string>
103
<widget class="QLineEdit" row="2" column="1" rowspan="1" colspan="2">
104
<property name="name">
105
<cstring>MaxColDisp</cstring>
107
<property name="frameShape">
108
<enum>LineEditPanel</enum>
110
<property name="frameShadow">
114
<widget class="QLineEdit" row="0" column="1">
115
<property name="name">
116
<cstring>InitialFetch</cstring>
118
<property name="enabled">
122
<widget class="QCheckBox" row="0" column="2">
123
<property name="name">
124
<cstring>ReadAll</cstring>
126
<property name="text">
127
<string>&All</string>
130
<widget class="QLabel" row="0" column="0">
131
<property name="name">
132
<cstring>TextLabel6</cstring>
134
<property name="text">
135
<string>&Initial rows to fetch in query</string>
137
<property name="buddy" stdset="0">
138
<cstring>InitialFetch</cstring>
140
<property name="toolTip" stdset="0">
141
<string>The number of rows to always fetch when executing a query.</string>
144
<widget class="QLabel" row="1" column="0">
145
<property name="name">
146
<cstring>TextLabel6_2</cstring>
148
<property name="text">
149
<string>Initially read in content editor</string>
151
<property name="buddy" stdset="0">
152
<cstring>InitialFetch</cstring>
154
<property name="toolTip" stdset="0">
155
<string>Number of rows to initially start reading in content editor, use unlimited on slow connections.</string>
158
<widget class="QLineEdit" row="1" column="1">
159
<property name="name">
160
<cstring>MaxContent</cstring>
162
<property name="enabled">
166
<widget class="QCheckBox" row="1" column="2">
167
<property name="name">
168
<cstring>UnlimitedContent</cstring>
170
<property name="text">
171
<string>&All</string>
176
<widget class="QCheckBox" row="5" column="0">
177
<property name="name">
178
<cstring>KeepAlive</cstring>
180
<property name="text">
181
<string>Keep alive by periodically executing statements on unused connections if they are not used.</string>
183
<property name="toolTip" stdset="0">
184
<string>Make sure connections are kept alive by periodically (5 minutes) sending a query on all idle connections.</string>
187
<widget class="QGroupBox" row="4" column="0">
188
<property name="name">
189
<cstring>GroupBox2</cstring>
191
<property name="title">
192
<string>UI feedback settings</string>
195
<property name="name">
196
<cstring>unnamed</cstring>
198
<property name="margin">
201
<property name="spacing">
204
<widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2">
205
<property name="name">
206
<cstring>AutoLong</cstring>
208
<property name="text">
209
<string>Abort long running queries and reexecute in own connection</string>
211
<property name="toolTip" stdset="0">
212
<string>Reexecute a query taking more than 30 seconds in its own connection to prevent blocking other database access.</string>
215
<widget class="QLabel" row="3" column="0">
216
<property name="name">
217
<cstring>TextLabel1</cstring>
219
<property name="text">
220
<string>Move to own connection after</string>
223
<widget class="QSpinBox" row="3" column="1">
224
<property name="name">
225
<cstring>MoveAfter</cstring>
227
<property name="enabled">
230
<property name="suffix">
231
<string> seconds</string>
233
<property name="minValue">
237
<widget class="QCheckBox" row="0" column="0" rowspan="1" colspan="2">
238
<property name="name">
239
<cstring>BkgndConnect</cstring>
241
<property name="text">
242
<string>Run UI blocking queries exclusively in main connection</string>
244
<property name="toolTip" stdset="0">
245
<string>Let the background queries normally running on the main connection run in a separate connection.</string>
248
<widget class="QCheckBox" row="1" column="0" rowspan="1" colspan="2">
249
<property name="name">
250
<cstring>DontReread</cstring>
252
<property name="text">
253
<string>Don't reread data if parameters are exactly same</string>
255
<property name="toolTip" stdset="0">
256
<string>If checked will not refresh a result if it is reexecuted exactly the same two times in a row.</string>
261
<spacer row="6" column="0">
262
<property name="name">
263
<cstring>Spacer1</cstring>
265
<property name="orientation">
266
<enum>Vertical</enum>
268
<property name="sizeType">
269
<enum>Expanding</enum>
271
<property name="sizeHint">
278
<widget class="QGroupBox" row="3" column="0">
279
<property name="name">
280
<cstring>GroupBox3</cstring>
282
<property name="title">
283
<string>Dataformat</string>
286
<property name="name">
287
<cstring>unnamed</cstring>
289
<property name="margin">
292
<property name="spacing">
295
<widget class="QLabel" row="1" column="0">
296
<property name="name">
297
<cstring>TextLabel1_2</cstring>
299
<property name="text">
300
<string>Number format</string>
302
<property name="toolTip" stdset="0">
303
<string>The way numbers should be presented.</string>
306
<widget class="QLabel" row="1" column="4">
307
<property name="name">
308
<cstring>TextLabel3</cstring>
310
<property name="text">
311
<string>Decimals</string>
313
<property name="toolTip" stdset="0">
314
<string>Number of decimals for fixed decimal format.</string>
317
<widget class="QSpinBox" row="1" column="5">
318
<property name="name">
319
<cstring>Decimals</cstring>
321
<property name="enabled">
324
<property name="maxValue">
327
<property name="value">
331
<widget class="QComboBox" row="1" column="1">
333
<property name="text">
334
<string>Default</string>
338
<property name="text">
339
<string>Scientific</string>
343
<property name="text">
344
<string>Fixed decimal</string>
347
<property name="name">
348
<cstring>NumberFormat</cstring>
351
<widget class="QCheckBox" row="0" column="0" rowspan="1" colspan="6">
352
<property name="name">
353
<cstring>IndicateEmpty</cstring>
355
<property name="text">
356
<string>Indicate empty values as '' instead of NULL as {null}.</string>
365
<sender>ReadAll</sender>
366
<signal>toggled(bool)</signal>
367
<receiver>InitialFetch</receiver>
368
<slot>setDisabled(bool)</slot>
371
<sender>AutoLong</sender>
372
<signal>toggled(bool)</signal>
373
<receiver>MoveAfter</receiver>
374
<slot>setEnabled(bool)</slot>
377
<sender>UnlimitedContent</sender>
378
<signal>toggled(bool)</signal>
379
<receiver>MaxContent</receiver>
380
<slot>setDisabled(bool)</slot>
383
<sender>NumberFormat</sender>
384
<signal>activated(const QString&)</signal>
385
<receiver>toDatabaseSettingUI</receiver>
386
<slot>numberFormatChange()</slot>
390
<tabstop>AutoCommit</tabstop>
391
<tabstop>ObjectCache</tabstop>
392
<tabstop>InitialFetch</tabstop>
393
<tabstop>ReadAll</tabstop>
394
<tabstop>MaxContent</tabstop>
395
<tabstop>UnlimitedContent</tabstop>
396
<tabstop>MaxColDisp</tabstop>
397
<tabstop>IndicateEmpty</tabstop>
398
<tabstop>NumberFormat</tabstop>
399
<tabstop>Decimals</tabstop>
400
<tabstop>BkgndConnect</tabstop>
401
<tabstop>DontReread</tabstop>
402
<tabstop>AutoLong</tabstop>
403
<tabstop>MoveAfter</tabstop>
404
<tabstop>KeepAlive</tabstop>
407
<slot>numberFormatChange()</slot>
409
<layoutdefaults spacing="6" margin="11"/>