#ifndef DIALOGCONFIG_H #define DIALOGCONFIG_H #include #include "mainwindow.h" namespace Ui { class DialogConfig; } class DialogConfig : public QDialog { Q_OBJECT public: explicit DialogConfig(QWidget *parent = nullptr); ~DialogConfig(); int ShowParams(); int GetParams(); stDB_CONN dbconn; private slots: void on_pushButton_OK_clicked(); void on_pushButton_CANCEL_clicked(); void on_pushButton_TestConn_clicked(); void on_pushButton_Test_PLC_clicked(); void on_pushButton_Test_Network_clicked(); private: Ui::DialogConfig *ui; }; #endif // DIALOGCONFIG_H