|
|
|
#ifndef ETHERNETSETTINGS_H
|
|
|
|
#define ETHERNETSETTINGS_H
|
|
|
|
|
|
|
|
#include "connectionsettingsengine.h"
|
|
|
|
#include "generalsettingstab.h"
|
|
|
|
#include "ethernetsettingstab.h"
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class GenericSettings;
|
|
|
|
}
|
|
|
|
|
|
|
|
class EthernetSettings : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit EthernetSettings(QString title, QString connUuidStr, QWidget *parent = nullptr);
|
|
|
|
~EthernetSettings();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void onCancelButtonClicked();
|
|
|
|
void onSaveButtonClicked();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::GenericSettings *ui;
|
|
|
|
|
|
|
|
QString targetConnUuidStr;
|
|
|
|
GeneralSettingsTab *generalSettingsTab;
|
|
|
|
EthernetSettingsTab *ethernetSettingsTab;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ETHERNETSETTINGS_H
|