|
1 |
| -<ui version="4.0" > |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<ui version="4.0"> |
2 | 3 | <class>QgsSpatiaLiteSourceSelectBase</class>
|
3 |
| - <widget class="QDialog" name="QgsSpatiaLiteSourceSelectBase" > |
4 |
| - <property name="geometry" > |
| 4 | + <widget class="QDialog" name="QgsSpatiaLiteSourceSelectBase"> |
| 5 | + <property name="geometry"> |
5 | 6 | <rect>
|
6 | 7 | <x>0</x>
|
7 | 8 | <y>0</y>
|
8 | 9 | <width>472</width>
|
9 | 10 | <height>687</height>
|
10 | 11 | </rect>
|
11 | 12 | </property>
|
12 |
| - <property name="windowTitle" > |
| 13 | + <property name="windowTitle"> |
13 | 14 | <string>Add SpatiaLite Table(s)</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 |
| - <property name="modal" > |
| 24 | + <property name="modal"> |
24 | 25 | <bool>true</bool>
|
25 | 26 | </property>
|
26 |
| - <layout class="QGridLayout" > |
27 |
| - <property name="margin" > |
| 27 | + <layout class="QGridLayout"> |
| 28 | + <property name="margin"> |
28 | 29 | <number>9</number>
|
29 | 30 | </property>
|
30 |
| - <property name="spacing" > |
| 31 | + <property name="spacing"> |
31 | 32 | <number>6</number>
|
32 | 33 | </property>
|
33 |
| - <item row="2" column="0" > |
| 34 | + <item row="2" column="0"> |
34 | 35 | <spacer>
|
35 |
| - <property name="orientation" > |
| 36 | + <property name="orientation"> |
36 | 37 | <enum>Qt::Horizontal</enum>
|
37 | 38 | </property>
|
38 |
| - <property name="sizeHint" > |
| 39 | + <property name="sizeHint" stdset="0"> |
39 | 40 | <size>
|
40 | 41 | <width>271</width>
|
41 | 42 | <height>20</height>
|
42 | 43 | </size>
|
43 | 44 | </property>
|
44 | 45 | </spacer>
|
45 | 46 | </item>
|
46 |
| - <item row="1" column="0" colspan="2" > |
47 |
| - <widget class="QTreeView" name="mTablesTreeView" > |
48 |
| - <property name="selectionMode" > |
| 47 | + <item row="1" column="0" colspan="2"> |
| 48 | + <widget class="QTreeView" name="mTablesTreeView"> |
| 49 | + <property name="selectionMode"> |
49 | 50 | <enum>QAbstractItemView::MultiSelection</enum>
|
50 | 51 | </property>
|
51 | 52 | </widget>
|
52 | 53 | </item>
|
53 |
| - <item row="0" column="0" colspan="2" > |
54 |
| - <widget class="QGroupBox" name="groupBox" > |
55 |
| - <property name="title" > |
| 54 | + <item row="0" column="0" colspan="2"> |
| 55 | + <widget class="QGroupBox" name="groupBox"> |
| 56 | + <property name="title"> |
56 | 57 | <string>SpatiaLite DBs</string>
|
57 | 58 | </property>
|
58 |
| - <layout class="QGridLayout" > |
59 |
| - <property name="margin" > |
| 59 | + <layout class="QGridLayout"> |
| 60 | + <property name="margin"> |
60 | 61 | <number>11</number>
|
61 | 62 | </property>
|
62 |
| - <property name="spacing" > |
| 63 | + <property name="spacing"> |
63 | 64 | <number>6</number>
|
64 | 65 | </property>
|
65 |
| - <item row="1" column="2" > |
66 |
| - <widget class="QPushButton" name="btnDelete" > |
67 |
| - <property name="text" > |
| 66 | + <item row="1" column="2"> |
| 67 | + <widget class="QPushButton" name="btnDelete"> |
| 68 | + <property name="text"> |
68 | 69 | <string>Delete</string>
|
69 | 70 | </property>
|
70 | 71 | </widget>
|
71 | 72 | </item>
|
72 |
| - <item row="1" column="1" > |
73 |
| - <widget class="QPushButton" name="btnNew" > |
74 |
| - <property name="text" > |
| 73 | + <item row="1" column="1"> |
| 74 | + <widget class="QPushButton" name="btnNew"> |
| 75 | + <property name="text"> |
75 | 76 | <string>New</string>
|
76 | 77 | </property>
|
77 | 78 | </widget>
|
78 | 79 | </item>
|
79 |
| - <item row="1" column="0" > |
80 |
| - <widget class="QPushButton" name="btnConnect" > |
81 |
| - <property name="text" > |
| 80 | + <item row="1" column="0"> |
| 81 | + <widget class="QPushButton" name="btnConnect"> |
| 82 | + <property name="text"> |
82 | 83 | <string>Connect</string>
|
83 | 84 | </property>
|
84 | 85 | </widget>
|
85 | 86 | </item>
|
86 |
| - <item row="0" column="0" colspan="3" > |
87 |
| - <widget class="QComboBox" name="cmbConnections" /> |
| 87 | + <item row="0" column="0" colspan="3"> |
| 88 | + <widget class="QComboBox" name="cmbConnections"/> |
88 | 89 | </item>
|
89 | 90 | </layout>
|
90 | 91 | </widget>
|
91 | 92 | </item>
|
92 |
| - <item row="4" column="0" colspan="2" > |
93 |
| - <layout class="QHBoxLayout" > |
94 |
| - <property name="margin" > |
95 |
| - <number>11</number> |
96 |
| - </property> |
97 |
| - <property name="spacing" > |
98 |
| - <number>6</number> |
99 |
| - </property> |
100 |
| - <item> |
101 |
| - <widget class="QPushButton" name="btnHelp" > |
102 |
| - <property name="enabled" > |
103 |
| - <bool>true</bool> |
104 |
| - </property> |
105 |
| - <property name="text" > |
106 |
| - <string>Help</string> |
107 |
| - </property> |
108 |
| - <property name="shortcut" > |
109 |
| - <string>F1</string> |
110 |
| - </property> |
111 |
| - <property name="autoDefault" > |
112 |
| - <bool>true</bool> |
113 |
| - </property> |
114 |
| - </widget> |
115 |
| - </item> |
116 |
| - <item> |
117 |
| - <spacer> |
118 |
| - <property name="orientation" > |
119 |
| - <enum>Qt::Horizontal</enum> |
120 |
| - </property> |
121 |
| - <property name="sizeType" > |
122 |
| - <enum>QSizePolicy::Expanding</enum> |
123 |
| - </property> |
124 |
| - <property name="sizeHint" > |
125 |
| - <size> |
126 |
| - <width>141</width> |
127 |
| - <height>21</height> |
128 |
| - </size> |
129 |
| - </property> |
130 |
| - </spacer> |
131 |
| - </item> |
132 |
| - <item> |
133 |
| - <widget class="QPushButton" name="btnAdd" > |
134 |
| - <property name="text" > |
135 |
| - <string>Add</string> |
136 |
| - </property> |
137 |
| - <property name="shortcut" > |
138 |
| - <string/> |
139 |
| - </property> |
140 |
| - <property name="autoDefault" > |
141 |
| - <bool>true</bool> |
142 |
| - </property> |
143 |
| - <property name="default" > |
144 |
| - <bool>true</bool> |
145 |
| - </property> |
146 |
| - </widget> |
147 |
| - </item> |
148 |
| - <item> |
149 |
| - <widget class="QPushButton" name="btnCancel" > |
150 |
| - <property name="text" > |
151 |
| - <string>Close</string> |
152 |
| - </property> |
153 |
| - <property name="shortcut" > |
154 |
| - <string/> |
155 |
| - </property> |
156 |
| - <property name="autoDefault" > |
157 |
| - <bool>true</bool> |
158 |
| - </property> |
159 |
| - </widget> |
160 |
| - </item> |
161 |
| - </layout> |
162 |
| - </item> |
163 |
| - <item row="3" column="0" colspan="2" > |
164 |
| - <widget class="QGroupBox" name="mSearchGroupBox" > |
165 |
| - <property name="title" > |
| 93 | + <item row="3" column="0" colspan="2"> |
| 94 | + <widget class="QGroupBox" name="mSearchGroupBox"> |
| 95 | + <property name="title"> |
166 | 96 | <string/>
|
167 | 97 | </property>
|
168 |
| - <layout class="QGridLayout" > |
169 |
| - <property name="margin" > |
| 98 | + <layout class="QGridLayout"> |
| 99 | + <property name="margin"> |
170 | 100 | <number>9</number>
|
171 | 101 | </property>
|
172 |
| - <property name="spacing" > |
| 102 | + <property name="spacing"> |
173 | 103 | <number>6</number>
|
174 | 104 | </property>
|
175 |
| - <item row="0" column="0" > |
176 |
| - <widget class="QLabel" name="mSearchLabel" > |
177 |
| - <property name="text" > |
| 105 | + <item row="0" column="0"> |
| 106 | + <widget class="QLabel" name="mSearchLabel"> |
| 107 | + <property name="text"> |
178 | 108 | <string>Search:</string>
|
179 | 109 | </property>
|
| 110 | + <property name="buddy"> |
| 111 | + <cstring>mSearchTableEdit</cstring> |
| 112 | + </property> |
180 | 113 | </widget>
|
181 | 114 | </item>
|
182 |
| - <item row="2" column="0" colspan="2" > |
183 |
| - <widget class="QLabel" name="mSearchModeLabel" > |
184 |
| - <property name="text" > |
| 115 | + <item row="2" column="0" colspan="2"> |
| 116 | + <widget class="QLabel" name="mSearchModeLabel"> |
| 117 | + <property name="text"> |
185 | 118 | <string>Search mode:</string>
|
186 | 119 | </property>
|
| 120 | + <property name="buddy"> |
| 121 | + <cstring>mSearchModeComboBox</cstring> |
| 122 | + </property> |
187 | 123 | </widget>
|
188 | 124 | </item>
|
189 |
| - <item row="2" column="2" > |
190 |
| - <widget class="QComboBox" name="mSearchModeComboBox" /> |
| 125 | + <item row="2" column="2"> |
| 126 | + <widget class="QComboBox" name="mSearchModeComboBox"/> |
191 | 127 | </item>
|
192 |
| - <item row="1" column="0" colspan="2" > |
193 |
| - <widget class="QLabel" name="mSearchColumnsLabel" > |
194 |
| - <property name="text" > |
| 128 | + <item row="1" column="0" colspan="2"> |
| 129 | + <widget class="QLabel" name="mSearchColumnsLabel"> |
| 130 | + <property name="text"> |
195 | 131 | <string>Search in columns:</string>
|
196 | 132 | </property>
|
| 133 | + <property name="buddy"> |
| 134 | + <cstring>mSearchColumnComboBox</cstring> |
| 135 | + </property> |
197 | 136 | </widget>
|
198 | 137 | </item>
|
199 |
| - <item row="1" column="2" > |
200 |
| - <widget class="QComboBox" name="mSearchColumnComboBox" /> |
| 138 | + <item row="1" column="2"> |
| 139 | + <widget class="QComboBox" name="mSearchColumnComboBox"/> |
201 | 140 | </item>
|
202 |
| - <item row="0" column="1" colspan="2" > |
203 |
| - <widget class="QLineEdit" name="mSearchTableEdit" /> |
| 141 | + <item row="0" column="1" colspan="2"> |
| 142 | + <widget class="QLineEdit" name="mSearchTableEdit"/> |
204 | 143 | </item>
|
205 | 144 | </layout>
|
206 | 145 | </widget>
|
207 | 146 | </item>
|
208 |
| - <item row="2" column="1" > |
209 |
| - <widget class="QPushButton" name="mSearchOptionsButton" > |
210 |
| - <property name="text" > |
| 147 | + <item row="2" column="1"> |
| 148 | + <widget class="QPushButton" name="mSearchOptionsButton"> |
| 149 | + <property name="text"> |
211 | 150 | <string>Search options...</string>
|
212 | 151 | </property>
|
213 | 152 | </widget>
|
214 | 153 | </item>
|
| 154 | + <item row="4" column="0" colspan="2"> |
| 155 | + <widget class="QDialogButtonBox" name="buttonBox"> |
| 156 | + <property name="standardButtons"> |
| 157 | + <set>QDialogButtonBox::Close|QDialogButtonBox::Help</set> |
| 158 | + </property> |
| 159 | + </widget> |
| 160 | + </item> |
215 | 161 | </layout>
|
216 | 162 | </widget>
|
217 |
| - <layoutdefault spacing="6" margin="11" /> |
| 163 | + <layoutdefault spacing="6" margin="11"/> |
218 | 164 | <tabstops>
|
219 | 165 | <tabstop>cmbConnections</tabstop>
|
220 | 166 | <tabstop>btnConnect</tabstop>
|
221 | 167 | <tabstop>btnNew</tabstop>
|
222 | 168 | <tabstop>btnDelete</tabstop>
|
223 |
| - <tabstop>btnHelp</tabstop> |
224 |
| - <tabstop>btnAdd</tabstop> |
225 |
| - <tabstop>btnCancel</tabstop> |
| 169 | + <tabstop>mTablesTreeView</tabstop> |
| 170 | + <tabstop>mSearchOptionsButton</tabstop> |
| 171 | + <tabstop>mSearchTableEdit</tabstop> |
| 172 | + <tabstop>mSearchColumnComboBox</tabstop> |
| 173 | + <tabstop>mSearchModeComboBox</tabstop> |
| 174 | + <tabstop>buttonBox</tabstop> |
226 | 175 | </tabstops>
|
227 | 176 | <resources/>
|
228 | 177 | <connections>
|
229 | 178 | <connection>
|
230 |
| - <sender>btnCancel</sender> |
231 |
| - <signal>clicked()</signal> |
| 179 | + <sender>buttonBox</sender> |
| 180 | + <signal>rejected()</signal> |
232 | 181 | <receiver>QgsSpatiaLiteSourceSelectBase</receiver>
|
233 | 182 | <slot>reject()</slot>
|
234 | 183 | <hints>
|
235 |
| - <hint type="sourcelabel" > |
236 |
| - <x>404</x> |
237 |
| - <y>446</y> |
| 184 | + <hint type="sourcelabel"> |
| 185 | + <x>431</x> |
| 186 | + <y>666</y> |
238 | 187 | </hint>
|
239 |
| - <hint type="destinationlabel" > |
240 |
| - <x>229</x> |
241 |
| - <y>236</y> |
| 188 | + <hint type="destinationlabel"> |
| 189 | + <x>465</x> |
| 190 | + <y>527</y> |
242 | 191 | </hint>
|
243 | 192 | </hints>
|
244 | 193 | </connection>
|
|
0 commit comments