Ref T172, server form supports ecosystem

This commit is contained in:
Klaus Basan
2017-12-28 18:36:17 +01:00
parent 1f9337609a
commit d8abb3f83b
4 changed files with 126 additions and 93 deletions

View File

@@ -47,6 +47,9 @@ namespace BlackGui
//! Get server
BlackMisc::Network::CServer getServer() const;
//! Get currently selected server type
BlackMisc::Network::CServer::ServerType getServerType() const;
//! \name Form class implementations
//! @{
virtual void setReadOnly(bool readonly) override;
@@ -57,6 +60,10 @@ namespace BlackGui
void showPasswordField(bool show);
private:
void initServerTypes();
void onChangedServerType(const QString &text);
void onChangedEcoSystem(const QString &text);
QScopedPointer<Ui::CNetworkServerForm> ui;
QString m_passwordNameLabel;
};