|
1 | | -<ui version="4.0" > |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<ui version="4.0"> |
2 | 3 | <class>QgsHelpViewerBase</class> |
3 | | - <widget class="QDialog" name="QgsHelpViewerBase" > |
4 | | - <property name="geometry" > |
| 4 | + <widget class="QDialog" name="QgsHelpViewerBase"> |
| 5 | + <property name="geometry"> |
5 | 6 | <rect> |
6 | 7 | <x>0</x> |
7 | 8 | <y>0</y> |
8 | 9 | <width>514</width> |
9 | 10 | <height>417</height> |
10 | 11 | </rect> |
11 | 12 | </property> |
12 | | - <property name="windowTitle" > |
| 13 | + <property name="windowTitle"> |
13 | 14 | <string>QGIS Help</string> |
14 | 15 | </property> |
15 | | - <property name="windowIcon" > |
| 16 | + <property name="windowIcon"> |
16 | 17 | <iconset> |
17 | 18 | <normaloff/> |
18 | 19 | </iconset> |
19 | 20 | </property> |
20 | | - <property name="sizeGripEnabled" > |
| 21 | + <property name="sizeGripEnabled"> |
21 | 22 | <bool>true</bool> |
22 | 23 | </property> |
23 | | - <layout class="QGridLayout" > |
24 | | - <property name="margin" > |
| 24 | + <layout class="QGridLayout"> |
| 25 | + <property name="margin"> |
25 | 26 | <number>9</number> |
26 | 27 | </property> |
27 | | - <property name="spacing" > |
| 28 | + <property name="spacing"> |
28 | 29 | <number>6</number> |
29 | 30 | </property> |
30 | | - <item row="0" column="0" > |
31 | | - <widget class="QTextBrowser" name="txtBrowser" > |
32 | | - <property name="acceptDrops" > |
| 31 | + <item row="0" column="0"> |
| 32 | + <widget class="QTextBrowser" name="txtBrowser"> |
| 33 | + <property name="acceptDrops"> |
33 | 34 | <bool>false</bool> |
34 | 35 | </property> |
35 | 36 | </widget> |
36 | 37 | </item> |
37 | | - <item row="1" column="0" > |
38 | | - <layout class="QHBoxLayout" > |
39 | | - <property name="margin" > |
40 | | - <number>0</number> |
| 38 | + <item row="1" column="0"> |
| 39 | + <widget class="QDialogButtonBox" name="buttonBox"> |
| 40 | + <property name="standardButtons"> |
| 41 | + <set>QDialogButtonBox::Close</set> |
41 | 42 | </property> |
42 | | - <property name="spacing" > |
43 | | - <number>6</number> |
44 | | - </property> |
45 | | - <item> |
46 | | - <spacer> |
47 | | - <property name="orientation" > |
48 | | - <enum>Qt::Horizontal</enum> |
49 | | - </property> |
50 | | - <property name="sizeType" > |
51 | | - <enum>QSizePolicy::Expanding</enum> |
52 | | - </property> |
53 | | - <property name="sizeHint" > |
54 | | - <size> |
55 | | - <width>390</width> |
56 | | - <height>20</height> |
57 | | - </size> |
58 | | - </property> |
59 | | - </spacer> |
60 | | - </item> |
61 | | - <item> |
62 | | - <widget class="QPushButton" name="buttonCancel" > |
63 | | - <property name="text" > |
64 | | - <string>&Close</string> |
65 | | - </property> |
66 | | - <property name="shortcut" > |
67 | | - <string>Alt+C</string> |
68 | | - </property> |
69 | | - <property name="autoDefault" > |
70 | | - <bool>true</bool> |
71 | | - </property> |
72 | | - </widget> |
73 | | - </item> |
74 | | - </layout> |
| 43 | + </widget> |
75 | 44 | </item> |
76 | 45 | </layout> |
77 | 46 | </widget> |
78 | | - <layoutdefault spacing="6" margin="11" /> |
| 47 | + <layoutdefault spacing="6" margin="11"/> |
79 | 48 | <resources/> |
80 | 49 | <connections> |
81 | 50 | <connection> |
82 | | - <sender>buttonCancel</sender> |
83 | | - <signal>clicked()</signal> |
| 51 | + <sender>buttonBox</sender> |
| 52 | + <signal>rejected()</signal> |
84 | 53 | <receiver>QgsHelpViewerBase</receiver> |
85 | 54 | <slot>reject()</slot> |
86 | 55 | <hints> |
87 | | - <hint type="sourcelabel" > |
88 | | - <x>455</x> |
89 | | - <y>393</y> |
| 56 | + <hint type="sourcelabel"> |
| 57 | + <x>482</x> |
| 58 | + <y>390</y> |
90 | 59 | </hint> |
91 | | - <hint type="destinationlabel" > |
92 | | - <x>256</x> |
93 | | - <y>208</y> |
| 60 | + <hint type="destinationlabel"> |
| 61 | + <x>508</x> |
| 62 | + <y>288</y> |
94 | 63 | </hint> |
95 | 64 | </hints> |
96 | 65 | </connection> |
|
0 commit comments