3#include "FrmParameterFreeRDP.h"
4#include "ui_FrmParameterFreeRDP.h"
16CFrmParameterFreeRDP::~CFrmParameterFreeRDP()
18 qDebug(m_Log) <<
"CFrmParameterFreeRDP::~CFrmParameterFreeRDP";
22void CFrmParameterFreeRDP::Init()
24 ui->cbEnable->setChecked(m_Para->getEnable());
25 ui->lePort->setText(QString::number(m_Para->getPort()));
26 ui->lePassword->setText(m_Para->getPassword());
28 ui->cbAuthentication->setChecked(m_Para->getAuthentication());
29 ui->cbMayInteract->setChecked(m_Para->getMayInteract());
30 ui->cbMayView->setChecked(m_Para->getMayView());
32 ui->cbTlsSecurity->setChecked(m_Para->getTlsSecurity());
33 ui->cbRdpSecurity->setChecked(m_Para->getRdpSecurity());
34 ui->cbNlaSecurity->setChecked(m_Para->getNlaSecurity());
35 ui->cbNlaExtSecurity->setChecked(m_Para->getNlaExtSecurity());
36 ui->leSamFile->setText(m_Para->getSamFile());
41 m_Para->setEnable(
ui->cbEnable->isChecked());
42 m_Para->setPort(
ui->lePort->text().toUInt());
43 m_Para->setPassword(
ui->lePassword->text());
45 m_Para->setAuthentication(
ui->cbAuthentication->isChecked());
46 m_Para->setMayInteract(
ui->cbMayInteract->isChecked());
47 m_Para->setMayView(
ui->cbMayView->isChecked());
49 m_Para->setTlsSecurity(
ui->cbTlsSecurity->isChecked());
50 m_Para->setRdpSecurity(
ui->cbRdpSecurity->isChecked());
51 m_Para->setNlaSecurity(
ui->cbNlaSecurity->isChecked());
52 m_Para->setNlaExtSecurity(
ui->cbNlaExtSecurity->isChecked());
53 m_Para->setSamFile(
ui->leSamFile->text());
void slotAccept()
[Accept parameters]
Ui::CFrmParameterFreeRDP * ui
[Accept parameters]