NewServerConfiguringLogic

NewServerProtocolsLogic
This commit is contained in:
Pokamest Nikak 2021-09-07 18:06:05 +03:00
parent 7c28fe2795
commit 4c0ff29488
12 changed files with 587 additions and 543 deletions

View file

@ -19,8 +19,6 @@ StartPageLogic::StartPageLogic(UiLogic *uiLogic, QObject *parent):
m_lineEditNewServerLoginText{},
m_labelNewServerWaitInfoVisible{true},
m_labelNewServerWaitInfoText{},
m_progressBarNewServerConnectionMinimum{0},
m_progressBarNewServerConnectionMaximum{100},
m_pushButtonBackFromStartVisible{true},
m_pushButtonNewServerConnectVisible{true}
{
@ -38,8 +36,6 @@ void StartPageLogic::updateStartPage()
setLabelNewServerWaitInfoVisible(false);
setLabelNewServerWaitInfoText("");
setProgressBarNewServerConnectionMinimum(0);
setProgressBarNewServerConnectionMaximum(300);
setPushButtonNewServerConnectVisible(true);
}
@ -147,32 +143,6 @@ void StartPageLogic::setLabelNewServerWaitInfoText(const QString &labelNewServer
}
}
double StartPageLogic::getProgressBarNewServerConnectionMinimum() const
{
return m_progressBarNewServerConnectionMinimum;
}
void StartPageLogic::setProgressBarNewServerConnectionMinimum(double progressBarNewServerConnectionMinimum)
{
if (m_progressBarNewServerConnectionMinimum != progressBarNewServerConnectionMinimum) {
m_progressBarNewServerConnectionMinimum = progressBarNewServerConnectionMinimum;
emit progressBarNewServerConnectionMinimumChanged();
}
}
double StartPageLogic::getProgressBarNewServerConnectionMaximum() const
{
return m_progressBarNewServerConnectionMaximum;
}
void StartPageLogic::setProgressBarNewServerConnectionMaximum(double progressBarNewServerConnectionMaximum)
{
if (m_progressBarNewServerConnectionMaximum != progressBarNewServerConnectionMaximum) {
m_progressBarNewServerConnectionMaximum = progressBarNewServerConnectionMaximum;
emit progressBarNewServerConnectionMaximumChanged();
}
}
bool StartPageLogic::getPushButtonNewServerConnectVisible() const
{
return m_pushButtonNewServerConnectVisible;