refs #769, use role bulk to decide if user can directly write models

* renamed role functions
* renamed buttons
* some formatting
This commit is contained in:
Klaus Basan
2016-09-28 04:15:43 +02:00
committed by Mathew Sutcliffe
parent 3a7c9626d3
commit 7446ffcb80
11 changed files with 54 additions and 29 deletions

View File

@@ -48,9 +48,13 @@ namespace BlackGui
QString html = ui->tbr_InfoAndHints->toHtml();
html = html.replace("##swiftDB##", url.getFullUrl(), Qt::CaseInsensitive);
html = html.replace("##swiftEnableSSO##", url.getFullUrl(), Qt::CaseInsensitive);
ui->tbr_InfoAndHints->setHtml(html);
ui->tbr_InfoAndHints->setOpenExternalLinks(true);
const bool devEnv = sGui->isRunningInDeveloperEnvironment();
ui->comp_DebugSetup->setVisible(devEnv);
connect(ui->pb_Login, &QPushButton::clicked, this, &CDbLoginComponent::ps_onLoginClicked);
connect(ui->pb_Logoff, &QPushButton::clicked, this, &CDbLoginComponent::ps_onLogoffClicked);
connect(&m_loginService, &CDatabaseAuthenticationService::userAuthenticationFinished, this, &CDbLoginComponent::ps_AuthenticationFinished);