2025-09-14 14:51:38 +08:00

39 lines
712 B
C++

#ifndef DIALOGNETCONFIG_H
#define DIALOGNETCONFIG_H
#include <QDialog>
#include "IVrBeltTearingConfig.h"
namespace Ui {
class DialogNetConfig;
}
class DialogNetConfig : public QDialog
{
Q_OBJECT
public:
explicit DialogNetConfig(QWidget *parent = nullptr);
~DialogNetConfig();
signals:
void configSaved();
protected:
void showEvent(QShowEvent *event) override;
private slots:
void onSaveConfig();
void onCancel();
void onServerSelectionChanged(const QString& text);
void onRemoveServer();
private:
void loadConfig();
Ui::DialogNetConfig *ui;
IVrBeltTearingConfig *m_config;
};
#endif // DIALOGNETCONFIG_H