sqldata_w/mainwindow.cpp
// Select a file with table list
Select a file with table list
Select a file with table list
void MainWindow::SelectTablesFile()
{
    QString file = QFileDialog::getOpenFileName(this, "Select a File with List of Tables",
         "");
    if(file.isEmpty() == false)
    {
        ui->tablesFileComboBox->insertItem(0, QDir::toNativeSeparators(file));
        ui->tablesFileComboBox->setCurrentIndex(0);
    }
}
void MainWindow :: SelectTablesFile ( ) { QString file = QFileDialog :: getOpenFileName ( this , " " , " " ) ; if ( file . isEmpty ( ) == false ) { ui -> tablesFileComboBox -> insertItem ( 0 , QDir :: toNativeSeparators ( file ) ) ; ui -> tablesFileComboBox -> setCurrentIndex ( 0 ) ; } }
Select a file with table list
Select a file with table list