1#include "FrmParameterTigerVNC.h"
2#include "ui_FrmParameterTigerVNC.h"
18 ui->cbEnableICE->setEnabled(
true);
20 ui->cbEnableICE->setEnabled(
false);
23 ui->cbEnable->setChecked(m_pParameters->getEnable());
24 ui->sbPort->setValue(m_pParameters->getPort());
25 ui->lePassword->setText(m_pParameters->getPassword());
26 ui->cbEnableICE->setChecked(m_pParameters->getIce());
27 ui->cbEnableSocket->setChecked(m_pParameters->GetEnableSocket());
30CFrmParameterTigerVNC::~CFrmParameterTigerVNC()
37 m_pParameters->setEnable(ui->cbEnable->isChecked());
38 m_pParameters->setPort(ui->sbPort->value());
39 m_pParameters->setPassword(ui->lePassword->text());
40 m_pParameters->setIce(ui->cbEnableICE->isChecked());
41 m_pParameters->SetEnableSocket(ui->cbEnableSocket->isChecked());
46 if(ui->lePassword->echoMode() == QLineEdit::Password)
48 ui->lePassword->setEchoMode(QLineEdit::Normal);
49 ui->pbShow->setIcon(QIcon::fromTheme(
"eye-off"));
51 ui->lePassword->setEchoMode(QLineEdit::Password);
52 ui->pbShow->setIcon(QIcon::fromTheme(
"eye-on"));
void on_pbShow_clicked()
[Accept parameters]
void slotAccept()
[Accept parameters]
static CICE * Instance()
Single instance.