MCPcopy Create free account
hub / github.com/KDE/labplot / setCustomQuery

Method setCustomQuery

src/frontend/datasources/ImportSQLDatabaseWidget.cpp:689–694  ·  view source on GitHub ↗

############################################################################## ###################### heper functions for unit tests ####################### ##############################################################################

Source from the content-addressed store, hash-verified

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

Calls 1

setCurrentIndexMethod · 0.45