############################################################################## ###################### heper functions for unit tests ####################### ##############################################################################
| 687 | // ###################### heper functions for unit tests ####################### |
| 688 | // ############################################################################## |
| 689 | void ImportSQLDatabaseWidget::setCustomQuery(bool custom) { |
| 690 | if (custom) |
| 691 | ui.cbImportFrom->setCurrentIndex(1); |
| 692 | else |
| 693 | ui.cbImportFrom->setCurrentIndex(0); |
| 694 | } |
| 695 | |
| 696 | void ImportSQLDatabaseWidget::setStartRow(int row) { |
| 697 | ui.sbStartRow->setValue(row); |