#ifndef MAINWINDOW_H #define MAINWINDOW_H #pragma execution_character_set("utf-8") #include class MainDialog; QT_BEGIN_NAMESPACE namespace Ui { class MainWindow; } QT_END_NAMESPACE class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(QWidget *parent = nullptr); ~MainWindow(); protected: void setIp(const QString &ip); bool testDatabase(); private slots: void on_pb_Logon_clicked(); void on_pb_Test_clicked(); private: Ui::MainWindow *ui; MainDialog* m_pMainDialog; }; #endif // MAINWINDOW_H