File tree 3 files changed +60
-12
lines changed
3 files changed +60
-12
lines changed Original file line number Diff line number Diff line change 45
45
<property name =" geometry" >
46
46
<rect >
47
47
<x >0</x >
48
- <y >-206 </y >
48
+ <y >-210 </y >
49
49
<width >465</width >
50
50
<height >621</height >
51
51
</rect >
316
316
</widget >
317
317
</item >
318
318
<item row =" 2" column =" 2" >
319
- <widget class =" QSpinBox" name =" mDocumentViewerHeight" >
319
+ <widget class =" QgsSpinBox" name =" mDocumentViewerHeight" >
320
+ <property name =" specialValueText" >
321
+ <string >Auto</string >
322
+ </property >
320
323
<property name =" suffix" >
321
- <string / >
324
+ <string > px</ string >
322
325
</property >
323
326
<property name =" prefix" >
324
327
<string />
329
332
</widget >
330
333
</item >
331
334
<item row =" 1" column =" 2" >
332
- <widget class =" QSpinBox" name =" mDocumentViewerWidth" >
335
+ <widget class =" QgsSpinBox" name =" mDocumentViewerWidth" >
336
+ <property name =" specialValueText" >
337
+ <string >Auto</string >
338
+ </property >
339
+ <property name =" suffix" >
340
+ <string > px</string >
341
+ </property >
333
342
<property name =" maximum" >
334
343
<number >10000</number >
335
344
</property >
345
354
<item row =" 1" column =" 3" rowspan =" 2" >
346
355
<widget class =" QLabel" name =" label_2" >
347
356
<property name =" text" >
348
- <string >Specify the size of the preview. If you leave it set to 0 , an optimal size will be estimated .</string >
357
+ <string >Specify the size of the preview. If you leave it set to Auto , an optimal size will be calculated .</string >
349
358
</property >
350
359
<property name =" wordWrap" >
351
360
<bool >true</bool >
384
393
</item >
385
394
</layout >
386
395
</widget >
396
+ <customwidgets >
397
+ <customwidget >
398
+ <class >QgsSpinBox</class >
399
+ <extends >QSpinBox</extends >
400
+ <header >qgsspinbox.h</header >
401
+ </customwidget >
402
+ </customwidgets >
387
403
<tabstops >
388
404
<tabstop >scrollArea</tabstop >
389
405
<tabstop >mRootPath</tabstop >
Original file line number Diff line number Diff line change 41
41
</widget >
42
42
</item >
43
43
<item row =" 1" column =" 1" >
44
- <widget class =" QSpinBox" name =" sbWidgetWidth" >
44
+ <widget class =" QgsSpinBox" name =" sbWidgetWidth" >
45
+ <property name =" specialValueText" >
46
+ <string >Auto</string >
47
+ </property >
48
+ <property name =" suffix" >
49
+ <string > px</string >
50
+ </property >
45
51
<property name =" maximum" >
46
52
<number >10000</number >
47
53
</property >
55
61
</widget >
56
62
</item >
57
63
<item row =" 2" column =" 1" >
58
- <widget class =" QSpinBox" name =" sbWidgetHeight" >
64
+ <widget class =" QgsSpinBox" name =" sbWidgetHeight" >
65
+ <property name =" specialValueText" >
66
+ <string >Auto</string >
67
+ </property >
59
68
<property name =" suffix" >
60
- <string / >
69
+ <string > px</ string >
61
70
</property >
62
71
<property name =" prefix" >
63
72
<string />
70
79
<item row =" 0" column =" 0" colspan =" 2" >
71
80
<widget class =" QLabel" name =" label" >
72
81
<property name =" text" >
73
- <string >Specify the size of the preview. If you leave it set to 0 , an optimal size will be estimated .</string >
82
+ <string >Specify the size of the preview. If you leave it set to < i > Auto < /i > , an optimal size will be calculated .</string >
74
83
</property >
75
84
<property name =" wordWrap" >
76
85
<bool >true</bool >
82
91
</item >
83
92
</layout >
84
93
</widget >
94
+ <customwidgets >
95
+ <customwidget >
96
+ <class >QgsSpinBox</class >
97
+ <extends >QSpinBox</extends >
98
+ <header >qgsspinbox.h</header >
99
+ </customwidget >
100
+ </customwidgets >
85
101
<resources />
86
102
<connections />
87
103
</ui >
Original file line number Diff line number Diff line change 42
42
</spacer >
43
43
</item >
44
44
<item row =" 1" column =" 1" >
45
- <widget class =" QSpinBox" name =" sbWidgetWidth" >
45
+ <widget class =" QgsSpinBox" name =" sbWidgetWidth" >
46
+ <property name =" specialValueText" >
47
+ <string >Auto</string >
48
+ </property >
49
+ <property name =" suffix" >
50
+ <string > px</string >
51
+ </property >
46
52
<property name =" maximum" >
47
53
<number >10000</number >
48
54
</property >
56
62
</widget >
57
63
</item >
58
64
<item row =" 2" column =" 1" >
59
- <widget class =" QSpinBox" name =" sbWidgetHeight" >
65
+ <widget class =" QgsSpinBox" name =" sbWidgetHeight" >
66
+ <property name =" specialValueText" >
67
+ <string >Auto</string >
68
+ </property >
60
69
<property name =" suffix" >
61
- <string / >
70
+ <string > px</ string >
62
71
</property >
63
72
<property name =" prefix" >
64
73
<string />
83
92
</item >
84
93
</layout >
85
94
</widget >
95
+ <customwidgets >
96
+ <customwidget >
97
+ <class >QgsSpinBox</class >
98
+ <extends >QSpinBox</extends >
99
+ <header >qgsspinbox.h</header >
100
+ </customwidget >
101
+ </customwidgets >
86
102
<resources />
87
103
<connections />
88
104
</ui >
You can’t perform that action at this time.
0 commit comments