2024-09-10 16:12:38 +08:00
|
|
|
|
#ifndef MAINWINDOW_H
|
2024-09-10 14:38:23 +08:00
|
|
|
|
#define MAINWINDOW_H
|
|
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
|
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
namespace Ui { class MainWindow; }
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
MainWindow(QWidget *parent = nullptr);
|
|
|
|
|
~MainWindow();
|
|
|
|
|
|
2024-09-10 16:12:38 +08:00
|
|
|
|
protected:
|
|
|
|
|
void setIp(const QString &ip);
|
|
|
|
|
|
2024-09-10 14:38:23 +08:00
|
|
|
|
private:
|
|
|
|
|
Ui::MainWindow *ui;
|
|
|
|
|
};
|
|
|
|
|
#endif // MAINWINDOW_H
|