#include "mainwindow.h" #include "ui_mainwindow.h" class MyThread: QThread { Q_OBJECT public: void run(); }; MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWindow() { delete ui; } void MainWindow::on_btn_search_clicked(bool checked) { } void MainWindow::on_ln_key_returnPressed() { } void MainWindow::on_cb_source_currentIndexChanged(int index) { }