|
6 | 6 | <rect> |
7 | 7 | <x>0</x> |
8 | 8 | <y>0</y> |
9 | | - <width>686</width> |
| 9 | + <width>703</width> |
10 | 10 | <height>543</height> |
11 | 11 | </rect> |
12 | 12 | </property> |
|
17 | 17 | <iconset resource="icons/icons.qrc"> |
18 | 18 | <normaloff>:/icons/index_create</normaloff>:/icons/index_create</iconset> |
19 | 19 | </property> |
20 | | - <layout class="QVBoxLayout" name="verticalLayout_2"> |
| 20 | + <layout class="QVBoxLayout" name="verticalLayout_3"> |
21 | 21 | <item> |
22 | 22 | <layout class="QFormLayout" name="formLayout"> |
23 | 23 | <item row="0" column="0"> |
|
63 | 63 | </property> |
64 | 64 | </widget> |
65 | 65 | </item> |
| 66 | + <item row="3" column="0"> |
| 67 | + <widget class="QLabel" name="label"> |
| 68 | + <property name="toolTip"> |
| 69 | + <string>For restricting the index to only a part of the table you can specify a WHERE clause here that selects the part of the table that should be indexed</string> |
| 70 | + </property> |
| 71 | + <property name="text"> |
| 72 | + <string>Partial inde&x clause</string> |
| 73 | + </property> |
| 74 | + <property name="buddy"> |
| 75 | + <cstring>editPartialClause</cstring> |
| 76 | + </property> |
| 77 | + </widget> |
| 78 | + </item> |
| 79 | + <item row="3" column="1"> |
| 80 | + <widget class="QLineEdit" name="editPartialClause"/> |
| 81 | + </item> |
66 | 82 | <item row="4" column="0"> |
67 | 83 | <widget class="QLabel" name="labelIndexColumns"> |
68 | 84 | <property name="text"> |
|
138 | 154 | </item> |
139 | 155 | <item> |
140 | 156 | <widget class="QToolButton" name="buttonToIndex"> |
141 | | - <property name="icon"> |
142 | | - <iconset resource="icons/icons.qrc"> |
143 | | - <normaloff>:/icons/run</normaloff>:/icons/run</iconset> |
| 157 | + <property name="arrowType"> |
| 158 | + <enum>Qt::RightArrow</enum> |
144 | 159 | </property> |
145 | 160 | </widget> |
146 | 161 | </item> |
147 | 162 | <item> |
148 | 163 | <widget class="QToolButton" name="buttonFromIndex"> |
149 | | - <property name="icon"> |
150 | | - <iconset resource="icons/icons.qrc"> |
151 | | - <normaloff>:/icons/resultset_previous.png</normaloff>:/icons/resultset_previous.png</iconset> |
| 164 | + <property name="arrowType"> |
| 165 | + <enum>Qt::LeftArrow</enum> |
152 | 166 | </property> |
153 | 167 | </widget> |
154 | 168 | </item> |
|
214 | 228 | </column> |
215 | 229 | </widget> |
216 | 230 | </item> |
| 231 | + <item> |
| 232 | + <layout class="QVBoxLayout" name="verticalLayout_2"> |
| 233 | + <item> |
| 234 | + <spacer name="verticalSpacer_4"> |
| 235 | + <property name="orientation"> |
| 236 | + <enum>Qt::Vertical</enum> |
| 237 | + </property> |
| 238 | + <property name="sizeHint" stdset="0"> |
| 239 | + <size> |
| 240 | + <width>20</width> |
| 241 | + <height>40</height> |
| 242 | + </size> |
| 243 | + </property> |
| 244 | + </spacer> |
| 245 | + </item> |
| 246 | + <item> |
| 247 | + <widget class="QToolButton" name="buttonMoveColumnUp"> |
| 248 | + <property name="arrowType"> |
| 249 | + <enum>Qt::UpArrow</enum> |
| 250 | + </property> |
| 251 | + </widget> |
| 252 | + </item> |
| 253 | + <item> |
| 254 | + <widget class="QToolButton" name="buttonMoveColumnDown"> |
| 255 | + <property name="arrowType"> |
| 256 | + <enum>Qt::DownArrow</enum> |
| 257 | + </property> |
| 258 | + </widget> |
| 259 | + </item> |
| 260 | + <item> |
| 261 | + <spacer name="verticalSpacer_3"> |
| 262 | + <property name="orientation"> |
| 263 | + <enum>Qt::Vertical</enum> |
| 264 | + </property> |
| 265 | + <property name="sizeHint" stdset="0"> |
| 266 | + <size> |
| 267 | + <width>20</width> |
| 268 | + <height>40</height> |
| 269 | + </size> |
| 270 | + </property> |
| 271 | + </spacer> |
| 272 | + </item> |
| 273 | + </layout> |
| 274 | + </item> |
217 | 275 | </layout> |
218 | 276 | </widget> |
219 | 277 | <widget class="SqlTextEdit" name="sqlTextEdit" native="true"> |
|
229 | 287 | </widget> |
230 | 288 | </widget> |
231 | 289 | </item> |
232 | | - <item row="3" column="0"> |
233 | | - <widget class="QLabel" name="label"> |
234 | | - <property name="toolTip"> |
235 | | - <string>For restricting the index to only a part of the table you can specify a WHERE clause here that selects the part of the table that should be indexed</string> |
236 | | - </property> |
237 | | - <property name="text"> |
238 | | - <string>Partial inde&x clause</string> |
239 | | - </property> |
240 | | - <property name="buddy"> |
241 | | - <cstring>editPartialClause</cstring> |
242 | | - </property> |
243 | | - </widget> |
244 | | - </item> |
245 | | - <item row="3" column="1"> |
246 | | - <widget class="QLineEdit" name="editPartialClause"/> |
247 | | - </item> |
248 | 290 | </layout> |
249 | 291 | </item> |
250 | 292 | <item> |
|
288 | 330 | <slot>accept()</slot> |
289 | 331 | <hints> |
290 | 332 | <hint type="sourcelabel"> |
291 | | - <x>258</x> |
292 | | - <y>499</y> |
| 333 | + <x>264</x> |
| 334 | + <y>536</y> |
293 | 335 | </hint> |
294 | 336 | <hint type="destinationlabel"> |
295 | 337 | <x>157</x> |
|
304 | 346 | <slot>reject()</slot> |
305 | 347 | <hints> |
306 | 348 | <hint type="sourcelabel"> |
307 | | - <x>326</x> |
308 | | - <y>499</y> |
| 349 | + <x>332</x> |
| 350 | + <y>536</y> |
309 | 351 | </hint> |
310 | 352 | <hint type="destinationlabel"> |
311 | 353 | <x>286</x> |
|
384 | 426 | <slot>addToIndex()</slot> |
385 | 427 | <hints> |
386 | 428 | <hint type="sourcelabel"> |
387 | | - <x>417</x> |
388 | | - <y>248</y> |
| 429 | + <x>406</x> |
| 430 | + <y>266</y> |
389 | 431 | </hint> |
390 | 432 | <hint type="destinationlabel"> |
391 | 433 | <x>385</x> |
|
400 | 442 | <slot>removeFromIndex()</slot> |
401 | 443 | <hints> |
402 | 444 | <hint type="sourcelabel"> |
403 | | - <x>417</x> |
404 | | - <y>286</y> |
| 445 | + <x>406</x> |
| 446 | + <y>304</y> |
405 | 447 | </hint> |
406 | 448 | <hint type="destinationlabel"> |
407 | 449 | <x>350</x> |
|
457 | 499 | </hint> |
458 | 500 | </hints> |
459 | 501 | </connection> |
| 502 | + <connection> |
| 503 | + <sender>buttonMoveColumnUp</sender> |
| 504 | + <signal>clicked()</signal> |
| 505 | + <receiver>EditIndexDialog</receiver> |
| 506 | + <slot>moveColumnUp()</slot> |
| 507 | + <hints> |
| 508 | + <hint type="sourcelabel"> |
| 509 | + <x>676</x> |
| 510 | + <y>241</y> |
| 511 | + </hint> |
| 512 | + <hint type="destinationlabel"> |
| 513 | + <x>700</x> |
| 514 | + <y>212</y> |
| 515 | + </hint> |
| 516 | + </hints> |
| 517 | + </connection> |
| 518 | + <connection> |
| 519 | + <sender>buttonMoveColumnDown</sender> |
| 520 | + <signal>clicked()</signal> |
| 521 | + <receiver>EditIndexDialog</receiver> |
| 522 | + <slot>moveColumnDown()</slot> |
| 523 | + <hints> |
| 524 | + <hint type="sourcelabel"> |
| 525 | + <x>686</x> |
| 526 | + <y>299</y> |
| 527 | + </hint> |
| 528 | + <hint type="destinationlabel"> |
| 529 | + <x>699</x> |
| 530 | + <y>307</y> |
| 531 | + </hint> |
| 532 | + </hints> |
| 533 | + </connection> |
460 | 534 | </connections> |
461 | 535 | <slots> |
462 | 536 | <slot>tableChanged(QString)</slot> |
|
465 | 539 | <slot>addToIndex(QModelIndex)</slot> |
466 | 540 | <slot>removeFromIndex()</slot> |
467 | 541 | <slot>removeFromIndex(QModelIndex)</slot> |
| 542 | + <slot>moveColumnUp()</slot> |
| 543 | + <slot>moveColumnDown()</slot> |
468 | 544 | </slots> |
469 | 545 | </ui> |
0 commit comments