#ifndef DIALOGNETCONFIG_H #define DIALOGNETCONFIG_H #include #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