You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
774 B
36 lines
774 B
#ifndef IPV4SETTINGSTAB_H
|
|
#define IPV4SETTINGSTAB_H
|
|
|
|
#include "qvarianthelper.h"
|
|
#include "connectionsettingsengine.h"
|
|
#include "listeditordialog.h"
|
|
#include <QWidget>
|
|
|
|
namespace Ui {
|
|
class Ipv4SettingsTab;
|
|
}
|
|
|
|
class Ipv4SettingsTab : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Ipv4SettingsTab(QWidget *parent = nullptr);
|
|
~Ipv4SettingsTab();
|
|
|
|
QVariantMap readSettings();
|
|
void loadSettings(QVariantMap settings);
|
|
|
|
private slots:
|
|
void onMethodComboBoxCurrentIndexChanged(int index);
|
|
void onEditDnsServersButtonClicked();
|
|
void onEditSearchDomainsButtonClicked();
|
|
void onManualIpv4ConfigurationAddButtonClicked();
|
|
void onManualIpv4ConfigurationRemoveButtonClicked();
|
|
|
|
private:
|
|
Ui::Ipv4SettingsTab *ui;
|
|
};
|
|
|
|
#endif // IPV4SETTINGSTAB_H
|