|
6 | 6 | <rect> |
7 | 7 | <x>0</x> |
8 | 8 | <y>0</y> |
9 | | - <width>672</width> |
10 | | - <height>687</height> |
| 9 | + <width>406</width> |
| 10 | + <height>470</height> |
11 | 11 | </rect> |
12 | 12 | </property> |
13 | 13 | <property name="windowTitle"> |
|
24 | 24 | <property name="modal"> |
25 | 25 | <bool>true</bool> |
26 | 26 | </property> |
27 | | - <layout class="QGridLayout"> |
28 | | - <property name="margin"> |
29 | | - <number>9</number> |
30 | | - </property> |
31 | | - <property name="spacing"> |
32 | | - <number>6</number> |
33 | | - </property> |
34 | | - <item row="1" column="0" colspan="6"> |
35 | | - <widget class="QTreeView" name="mTablesTreeView"> |
36 | | - <property name="selectionMode"> |
37 | | - <enum>QAbstractItemView::ExtendedSelection</enum> |
38 | | - </property> |
39 | | - </widget> |
40 | | - </item> |
41 | | - <item row="0" column="0" colspan="6"> |
| 27 | + <layout class="QVBoxLayout" name="verticalLayout"> |
| 28 | + <item> |
42 | 29 | <widget class="QGroupBox" name="groupBox"> |
43 | 30 | <property name="title"> |
44 | 31 | <string>PostgreSQL Connections</string> |
|
84 | 71 | </layout> |
85 | 72 | </widget> |
86 | 73 | </item> |
87 | | - <item row="4" column="0" colspan="6"> |
88 | | - <layout class="QHBoxLayout"> |
89 | | - <property name="spacing"> |
90 | | - <number>6</number> |
| 74 | + <item> |
| 75 | + <widget class="QTreeView" name="mTablesTreeView"> |
| 76 | + <property name="selectionMode"> |
| 77 | + <enum>QAbstractItemView::ExtendedSelection</enum> |
91 | 78 | </property> |
92 | | - <property name="margin"> |
93 | | - <number>11</number> |
| 79 | + </widget> |
| 80 | + </item> |
| 81 | + <item> |
| 82 | + <widget class="QPushButton" name="btnBuildQuery"> |
| 83 | + <property name="enabled"> |
| 84 | + <bool>false</bool> |
| 85 | + </property> |
| 86 | + <property name="text"> |
| 87 | + <string>Build query</string> |
94 | 88 | </property> |
95 | | - <item> |
96 | | - <widget class="QPushButton" name="btnHelp"> |
97 | | - <property name="enabled"> |
98 | | - <bool>true</bool> |
99 | | - </property> |
100 | | - <property name="text"> |
101 | | - <string>Help</string> |
102 | | - </property> |
103 | | - <property name="shortcut"> |
104 | | - <string>F1</string> |
105 | | - </property> |
106 | | - <property name="autoDefault"> |
107 | | - <bool>true</bool> |
108 | | - </property> |
109 | | - </widget> |
110 | | - </item> |
111 | | - <item> |
112 | | - <spacer> |
113 | | - <property name="orientation"> |
114 | | - <enum>Qt::Horizontal</enum> |
115 | | - </property> |
116 | | - <property name="sizeType"> |
117 | | - <enum>QSizePolicy::Expanding</enum> |
118 | | - </property> |
119 | | - <property name="sizeHint" stdset="0"> |
120 | | - <size> |
121 | | - <width>141</width> |
122 | | - <height>21</height> |
123 | | - </size> |
124 | | - </property> |
125 | | - </spacer> |
126 | | - </item> |
127 | | - <item> |
128 | | - <widget class="QPushButton" name="btnAdd"> |
129 | | - <property name="text"> |
130 | | - <string>Add</string> |
131 | | - </property> |
132 | | - <property name="shortcut"> |
133 | | - <string/> |
134 | | - </property> |
135 | | - <property name="autoDefault"> |
136 | | - <bool>true</bool> |
137 | | - </property> |
138 | | - <property name="default"> |
139 | | - <bool>true</bool> |
140 | | - </property> |
141 | | - </widget> |
142 | | - </item> |
143 | | - <item> |
144 | | - <widget class="QPushButton" name="btnCancel"> |
145 | | - <property name="text"> |
146 | | - <string>Close</string> |
147 | | - </property> |
148 | | - <property name="shortcut"> |
149 | | - <string/> |
150 | | - </property> |
151 | | - <property name="autoDefault"> |
152 | | - <bool>true</bool> |
153 | | - </property> |
154 | | - </widget> |
155 | | - </item> |
156 | | - </layout> |
| 89 | + </widget> |
| 90 | + </item> |
| 91 | + <item> |
| 92 | + <spacer> |
| 93 | + <property name="orientation"> |
| 94 | + <enum>Qt::Horizontal</enum> |
| 95 | + </property> |
| 96 | + <property name="sizeHint" stdset="0"> |
| 97 | + <size> |
| 98 | + <width>271</width> |
| 99 | + <height>20</height> |
| 100 | + </size> |
| 101 | + </property> |
| 102 | + </spacer> |
157 | 103 | </item> |
158 | | - <item row="3" column="0" colspan="6"> |
| 104 | + <item> |
| 105 | + <widget class="QPushButton" name="mSearchOptionsButton"> |
| 106 | + <property name="text"> |
| 107 | + <string>Search options...</string> |
| 108 | + </property> |
| 109 | + </widget> |
| 110 | + </item> |
| 111 | + <item> |
159 | 112 | <widget class="QGroupBox" name="mSearchGroupBox"> |
160 | 113 | <property name="title"> |
161 | 114 | <string/> |
|
172 | 125 | <property name="text"> |
173 | 126 | <string>Search:</string> |
174 | 127 | </property> |
| 128 | + <property name="buddy"> |
| 129 | + <cstring>mSearchTableEdit</cstring> |
| 130 | + </property> |
175 | 131 | </widget> |
176 | 132 | </item> |
177 | 133 | <item row="2" column="0" colspan="2"> |
178 | 134 | <widget class="QLabel" name="mSearchModeLabel"> |
179 | 135 | <property name="text"> |
180 | 136 | <string>Search mode:</string> |
181 | 137 | </property> |
| 138 | + <property name="buddy"> |
| 139 | + <cstring>mSearchModeComboBox</cstring> |
| 140 | + </property> |
182 | 141 | </widget> |
183 | 142 | </item> |
184 | 143 | <item row="2" column="2"> |
|
189 | 148 | <property name="text"> |
190 | 149 | <string>Search in columns:</string> |
191 | 150 | </property> |
| 151 | + <property name="buddy"> |
| 152 | + <cstring>mSearchColumnComboBox</cstring> |
| 153 | + </property> |
192 | 154 | </widget> |
193 | 155 | </item> |
194 | 156 | <item row="1" column="2"> |
|
200 | 162 | </layout> |
201 | 163 | </widget> |
202 | 164 | </item> |
203 | | - <item row="2" column="4"> |
204 | | - <widget class="QPushButton" name="btnBuildQuery"> |
205 | | - <property name="enabled"> |
206 | | - <bool>false</bool> |
207 | | - </property> |
208 | | - <property name="text"> |
209 | | - <string>Build query</string> |
210 | | - </property> |
211 | | - </widget> |
212 | | - </item> |
213 | | - <item row="2" column="2"> |
214 | | - <widget class="QPushButton" name="mSearchOptionsButton"> |
215 | | - <property name="text"> |
216 | | - <string>Search options...</string> |
| 165 | + <item> |
| 166 | + <widget class="QDialogButtonBox" name="buttonBox"> |
| 167 | + <property name="standardButtons"> |
| 168 | + <set>QDialogButtonBox::Close|QDialogButtonBox::Help</set> |
217 | 169 | </property> |
218 | 170 | </widget> |
219 | 171 | </item> |
220 | | - <item row="2" column="3"> |
221 | | - <spacer> |
222 | | - <property name="orientation"> |
223 | | - <enum>Qt::Horizontal</enum> |
224 | | - </property> |
225 | | - <property name="sizeHint" stdset="0"> |
226 | | - <size> |
227 | | - <width>271</width> |
228 | | - <height>20</height> |
229 | | - </size> |
230 | | - </property> |
231 | | - </spacer> |
232 | | - </item> |
233 | 172 | </layout> |
234 | 173 | </widget> |
235 | 174 | <layoutdefault spacing="6" margin="11"/> |
|
239 | 178 | <tabstop>btnNew</tabstop> |
240 | 179 | <tabstop>btnEdit</tabstop> |
241 | 180 | <tabstop>btnDelete</tabstop> |
242 | | - <tabstop>btnHelp</tabstop> |
243 | | - <tabstop>btnAdd</tabstop> |
244 | | - <tabstop>btnCancel</tabstop> |
| 181 | + <tabstop>mTablesTreeView</tabstop> |
| 182 | + <tabstop>btnBuildQuery</tabstop> |
| 183 | + <tabstop>mSearchOptionsButton</tabstop> |
| 184 | + <tabstop>mSearchTableEdit</tabstop> |
| 185 | + <tabstop>mSearchColumnComboBox</tabstop> |
| 186 | + <tabstop>mSearchModeComboBox</tabstop> |
| 187 | + <tabstop>buttonBox</tabstop> |
245 | 188 | </tabstops> |
246 | 189 | <resources/> |
247 | 190 | <connections> |
248 | 191 | <connection> |
249 | | - <sender>btnCancel</sender> |
250 | | - <signal>clicked()</signal> |
| 192 | + <sender>buttonBox</sender> |
| 193 | + <signal>rejected()</signal> |
251 | 194 | <receiver>QgsPgSourceSelectBase</receiver> |
252 | 195 | <slot>reject()</slot> |
253 | 196 | <hints> |
254 | 197 | <hint type="sourcelabel"> |
255 | | - <x>404</x> |
| 198 | + <x>353</x> |
256 | 199 | <y>446</y> |
257 | 200 | </hint> |
258 | 201 | <hint type="destinationlabel"> |
259 | | - <x>229</x> |
260 | | - <y>236</y> |
| 202 | + <x>404</x> |
| 203 | + <y>421</y> |
261 | 204 | </hint> |
262 | 205 | </hints> |
263 | 206 | </connection> |
|
0 commit comments