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.

29 lines
718 B

#include "security802_1xtab.h"
#include "ui_security802_1xtab.h"
Security802_1xTab::Security802_1xTab(QWidget *parent) :
QDialog(parent),
ui(new Ui::Security802_1xTab)
{
ui->setupUi(this);
connect(ui->enable802_1xCheckBox, &QCheckBox::stateChanged, this, &Security802_1xTab::onEnable802_1xCheckBoxToggled);
onEnable802_1xCheckBoxToggled(Qt::Unchecked);
}
Security802_1xTab::~Security802_1xTab()
{
delete ui;
}
void Security802_1xTab::onEnable802_1xCheckBoxToggled(int state)
{
switch (state) {
case Qt::Checked:
ui->authenticationModeTabs->setEnabled(true);
break;
case Qt::Unchecked:
ui->authenticationModeTabs->setEnabled(false);
break;
}
}