20 setObjectName(
"Go4ConnectServer");
30 DefaultPassCheck->setChecked(def);
31 PasswordEdit->setEnabled(!def);
32 AccountEdit->setEnabled(canHaveOtherAccounts);
33 AccountEdit->setVisible(canHaveOtherAccounts);
38 if (PasswordEdit->isEnabled())
39 PasswordEdit->setText(pass);
49 bool def = DefaultPassCheck->isChecked();
52 if (!def) res = PasswordEdit->text();
59 PasswordEdit->setEnabled(!on);
69 AccountEdit->setText(
"observer");
72 AccountEdit->setText(
"controller");
75 AccountEdit->setText(
"admin");
82 AccountEdit->setEnabled(index==3);
88 AccountEdit->setEnabled(index==1);
89 AccountEdit->setVisible(index==1);
void setClientControllerMode(int)
virtual void SelectAccount_changed(int index)
void setClientAccountName(const QString &)
TGo4ConnectServer(QWidget *parent=0)
virtual void DefaultPassCheck_toggled(bool on)
int getClientControllerMode()
int getClientConnectMode()
bool getClientDefaultPass()
void setClientNode(const QString &)
void setClientConnectMode(int)
void setClientDefaultPass(bool)
virtual void SelectConnection_changed(int index)
void setPassword(const char *pass)