|
6 | 6 | <rect>
|
7 | 7 | <x>0</x>
|
8 | 8 | <y>0</y>
|
9 |
| - <width>406</width> |
10 |
| - <height>500</height> |
| 9 | + <width>362</width> |
| 10 | + <height>476</height> |
11 | 11 | </rect>
|
12 | 12 | </property>
|
13 | 13 | <property name="windowTitle">
|
|
71 | 71 | </layout>
|
72 | 72 | </widget>
|
73 | 73 | </item>
|
74 |
| - <item> |
75 |
| - <layout class="QHBoxLayout" name="horizontalLayout"> |
76 |
| - <item> |
77 |
| - <widget class="QPushButton" name="btnSave"> |
78 |
| - <property name="text"> |
79 |
| - <string>Save connections</string> |
80 |
| - </property> |
81 |
| - </widget> |
82 |
| - </item> |
83 |
| - <item> |
84 |
| - <widget class="QPushButton" name="btnLoad"> |
85 |
| - <property name="text"> |
86 |
| - <string>Load connections</string> |
87 |
| - </property> |
88 |
| - </widget> |
89 |
| - </item> |
90 |
| - </layout> |
91 |
| - </item> |
92 | 74 | <item>
|
93 | 75 | <widget class="QTreeView" name="mTablesTreeView">
|
94 | 76 | <property name="selectionMode">
|
|
107 | 89 | </widget>
|
108 | 90 | </item>
|
109 | 91 | <item>
|
110 |
| - <spacer> |
111 |
| - <property name="orientation"> |
112 |
| - <enum>Qt::Horizontal</enum> |
| 92 | + <widget class="QGroupBox" name="mSearchGroupBox"> |
| 93 | + <property name="title"> |
| 94 | + <string>Search options</string> |
113 | 95 | </property>
|
114 |
| - <property name="sizeHint" stdset="0"> |
115 |
| - <size> |
116 |
| - <width>271</width> |
117 |
| - <height>20</height> |
118 |
| - </size> |
| 96 | + <property name="flat"> |
| 97 | + <bool>true</bool> |
119 | 98 | </property>
|
120 |
| - </spacer> |
121 |
| - </item> |
122 |
| - <item> |
123 |
| - <widget class="QPushButton" name="mSearchOptionsButton"> |
124 |
| - <property name="text"> |
125 |
| - <string>Search options...</string> |
| 99 | + <property name="checkable"> |
| 100 | + <bool>true</bool> |
126 | 101 | </property>
|
127 |
| - </widget> |
128 |
| - </item> |
129 |
| - <item> |
130 |
| - <widget class="QGroupBox" name="mSearchGroupBox"> |
131 |
| - <property name="title"> |
132 |
| - <string/> |
| 102 | + <property name="checked"> |
| 103 | + <bool>false</bool> |
133 | 104 | </property>
|
134 | 105 | <layout class="QGridLayout">
|
135 | 106 | <property name="margin">
|
|
140 | 111 | </property>
|
141 | 112 | <item row="0" column="0">
|
142 | 113 | <widget class="QLabel" name="mSearchLabel">
|
| 114 | + <property name="enabled"> |
| 115 | + <bool>true</bool> |
| 116 | + </property> |
143 | 117 | <property name="text">
|
144 | 118 | <string>Search:</string>
|
145 | 119 | </property>
|
|
150 | 124 | </item>
|
151 | 125 | <item row="2" column="0" colspan="2">
|
152 | 126 | <widget class="QLabel" name="mSearchModeLabel">
|
| 127 | + <property name="enabled"> |
| 128 | + <bool>true</bool> |
| 129 | + </property> |
153 | 130 | <property name="text">
|
154 | 131 | <string>Search mode:</string>
|
155 | 132 | </property>
|
|
159 | 136 | </widget>
|
160 | 137 | </item>
|
161 | 138 | <item row="2" column="2">
|
162 |
| - <widget class="QComboBox" name="mSearchModeComboBox"/> |
| 139 | + <widget class="QComboBox" name="mSearchModeComboBox"> |
| 140 | + <property name="enabled"> |
| 141 | + <bool>true</bool> |
| 142 | + </property> |
| 143 | + </widget> |
163 | 144 | </item>
|
164 | 145 | <item row="1" column="0" colspan="2">
|
165 | 146 | <widget class="QLabel" name="mSearchColumnsLabel">
|
| 147 | + <property name="enabled"> |
| 148 | + <bool>true</bool> |
| 149 | + </property> |
166 | 150 | <property name="text">
|
167 | 151 | <string>Search in columns:</string>
|
168 | 152 | </property>
|
|
172 | 156 | </widget>
|
173 | 157 | </item>
|
174 | 158 | <item row="1" column="2">
|
175 |
| - <widget class="QComboBox" name="mSearchColumnComboBox"/> |
| 159 | + <widget class="QComboBox" name="mSearchColumnComboBox"> |
| 160 | + <property name="enabled"> |
| 161 | + <bool>true</bool> |
| 162 | + </property> |
| 163 | + </widget> |
176 | 164 | </item>
|
177 | 165 | <item row="0" column="1" colspan="2">
|
178 |
| - <widget class="QLineEdit" name="mSearchTableEdit"/> |
| 166 | + <widget class="QLineEdit" name="mSearchTableEdit"> |
| 167 | + <property name="enabled"> |
| 168 | + <bool>true</bool> |
| 169 | + </property> |
| 170 | + </widget> |
179 | 171 | </item>
|
180 | 172 | </layout>
|
181 | 173 | </widget>
|
|
198 | 190 | <tabstop>btnDelete</tabstop>
|
199 | 191 | <tabstop>mTablesTreeView</tabstop>
|
200 | 192 | <tabstop>btnBuildQuery</tabstop>
|
201 |
| - <tabstop>mSearchOptionsButton</tabstop> |
202 | 193 | <tabstop>mSearchTableEdit</tabstop>
|
203 | 194 | <tabstop>mSearchColumnComboBox</tabstop>
|
204 | 195 | <tabstop>mSearchModeComboBox</tabstop>
|
|
213 | 204 | <slot>reject()</slot>
|
214 | 205 | <hints>
|
215 | 206 | <hint type="sourcelabel">
|
216 |
| - <x>353</x> |
217 |
| - <y>446</y> |
| 207 | + <x>352</x> |
| 208 | + <y>466</y> |
218 | 209 | </hint>
|
219 | 210 | <hint type="destinationlabel">
|
220 |
| - <x>404</x> |
| 211 | + <x>361</x> |
221 | 212 | <y>421</y>
|
222 | 213 | </hint>
|
223 | 214 | </hints>
|
224 | 215 | </connection>
|
| 216 | + <connection> |
| 217 | + <sender>mSearchGroupBox</sender> |
| 218 | + <signal>toggled(bool)</signal> |
| 219 | + <receiver>mSearchTableEdit</receiver> |
| 220 | + <slot>setVisible(bool)</slot> |
| 221 | + <hints> |
| 222 | + <hint type="sourcelabel"> |
| 223 | + <x>85</x> |
| 224 | + <y>324</y> |
| 225 | + </hint> |
| 226 | + <hint type="destinationlabel"> |
| 227 | + <x>177</x> |
| 228 | + <y>360</y> |
| 229 | + </hint> |
| 230 | + </hints> |
| 231 | + </connection> |
| 232 | + <connection> |
| 233 | + <sender>mSearchGroupBox</sender> |
| 234 | + <signal>toggled(bool)</signal> |
| 235 | + <receiver>mSearchColumnComboBox</receiver> |
| 236 | + <slot>setVisible(bool)</slot> |
| 237 | + <hints> |
| 238 | + <hint type="sourcelabel"> |
| 239 | + <x>88</x> |
| 240 | + <y>325</y> |
| 241 | + </hint> |
| 242 | + <hint type="destinationlabel"> |
| 243 | + <x>254</x> |
| 244 | + <y>381</y> |
| 245 | + </hint> |
| 246 | + </hints> |
| 247 | + </connection> |
| 248 | + <connection> |
| 249 | + <sender>mSearchGroupBox</sender> |
| 250 | + <signal>toggled(bool)</signal> |
| 251 | + <receiver>mSearchModeComboBox</receiver> |
| 252 | + <slot>setVisible(bool)</slot> |
| 253 | + <hints> |
| 254 | + <hint type="sourcelabel"> |
| 255 | + <x>106</x> |
| 256 | + <y>333</y> |
| 257 | + </hint> |
| 258 | + <hint type="destinationlabel"> |
| 259 | + <x>281</x> |
| 260 | + <y>410</y> |
| 261 | + </hint> |
| 262 | + </hints> |
| 263 | + </connection> |
| 264 | + <connection> |
| 265 | + <sender>mSearchGroupBox</sender> |
| 266 | + <signal>toggled(bool)</signal> |
| 267 | + <receiver>mSearchLabel</receiver> |
| 268 | + <slot>setVisible(bool)</slot> |
| 269 | + <hints> |
| 270 | + <hint type="sourcelabel"> |
| 271 | + <x>124</x> |
| 272 | + <y>327</y> |
| 273 | + </hint> |
| 274 | + <hint type="destinationlabel"> |
| 275 | + <x>58</x> |
| 276 | + <y>360</y> |
| 277 | + </hint> |
| 278 | + </hints> |
| 279 | + </connection> |
| 280 | + <connection> |
| 281 | + <sender>mSearchGroupBox</sender> |
| 282 | + <signal>toggled(bool)</signal> |
| 283 | + <receiver>mSearchColumnsLabel</receiver> |
| 284 | + <slot>setVisible(bool)</slot> |
| 285 | + <hints> |
| 286 | + <hint type="sourcelabel"> |
| 287 | + <x>42</x> |
| 288 | + <y>327</y> |
| 289 | + </hint> |
| 290 | + <hint type="destinationlabel"> |
| 291 | + <x>39</x> |
| 292 | + <y>379</y> |
| 293 | + </hint> |
| 294 | + </hints> |
| 295 | + </connection> |
| 296 | + <connection> |
| 297 | + <sender>mSearchGroupBox</sender> |
| 298 | + <signal>toggled(bool)</signal> |
| 299 | + <receiver>mSearchModeLabel</receiver> |
| 300 | + <slot>setVisible(bool)</slot> |
| 301 | + <hints> |
| 302 | + <hint type="sourcelabel"> |
| 303 | + <x>73</x> |
| 304 | + <y>322</y> |
| 305 | + </hint> |
| 306 | + <hint type="destinationlabel"> |
| 307 | + <x>68</x> |
| 308 | + <y>411</y> |
| 309 | + </hint> |
| 310 | + </hints> |
| 311 | + </connection> |
225 | 312 | </connections>
|
226 | 313 | </ui>
|
0 commit comments