3#include "DlgUserPassword.h"
4#include "ui_DlgUserPassword.h"
5#include <QLoggingCategory>
7static Q_LOGGING_CATEGORY(log,
"Client.DlgUserPassword")
16 setWindowTitle(tr(
"Set user and password"));
19CDlgUserPassword::~CDlgUserPassword()
26 m_pNet = other.m_pNet;
29void CDlgUserPassword::SetContext(
void *pContext)
33 qCritical(log) <<
"The pContext is null";
36 auto &user = m_pNet->
m_User;
37 ui->lbText->setText(windowTitle() +
"\n" + tr(
"Server: ")
39 +
":" + QString::number(m_pNet->GetPort()));
40 ui->wUser->SetParameter(&user);
43void CDlgUserPassword::accept()
46 qCritical(log) <<
"The pContext is null";
Basic network parameters.
CParameterUser m_User
[Instance user]
void sigChanged()
emit when the parameter changes Usually if required, the corresponding parameter corresponds to a cha...