36 lines
503 B
C++
36 lines
503 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
|
|
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);
|
|
|
|
private slots:
|
|
void on_pb_Logon_clicked();
|
|
|
|
void on_pb_Test_clicked();
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
MainDialog* m_pMainDialog;
|
|
};
|
|
#endif // MAINWINDOW_H
|