19 #ifndef NETWORKSETTINGSDIALOG_H
20 #define NETWORKSETTINGSDIALOG_H
33 class NetworkSettingsDialog;
36 class NetworkSettingsDialog :
public QDialog
41 explicit NetworkSettingsDialog(QWidget *parent =
nullptr);
42 ~NetworkSettingsDialog();
46 static const QString QSTR_ADDRESS_IPV4;
47 static const QString QSTR_ADDRESS_IPV6;
50 void accept()
override;
51 void showEvent(QShowEvent *event)
override;
52 void restoreDefaults();
53 void toggledIPv6(
bool checked);
56 Ui::NetworkSettingsDialog *ui;