mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
notifyController убрал
This commit is contained in:
@@ -57,6 +57,7 @@ void DialogVersionControl::initialize(QString authorName)
|
||||
connect(connectorToServer, &ConnectorToServer::signal_AnimationActivated, this, &DialogVersionControl::slot_activateLoadAnimation);
|
||||
|
||||
connect(connectorToServer, &ConnectorToServer::signal_showServerList, this, &DialogVersionControl::slot_showServerList);
|
||||
connect(connectorToServer, &ConnectorToServer::signal_NotifyVersionControl, this, &DialogVersionControl::slot_NotifyVersionControl);
|
||||
|
||||
connect(this, &DialogVersionControl::sigSendSwitchVersion, connectorToServer, &ConnectorToServer::slot_SendSwitchVersion);
|
||||
connect(this, &DialogVersionControl::sigSendCopyVersion, connectorToServer, &ConnectorToServer::slot_SendCopyVersion);
|
||||
@@ -114,7 +115,7 @@ void DialogVersionControl::sendCopyEmit(QString newName)
|
||||
if (selectedVersion == nullptr)
|
||||
{
|
||||
QString text = tr("Version not selected");
|
||||
SpecMsgBox(this, SpecMsgBox::TypeSpecMsgBox::warningClose, text).exec();
|
||||
SpecMsgBox::WarningClose(this, text);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -127,7 +128,7 @@ void DialogVersionControl::on_createDuplicateButton_clicked()
|
||||
if (selectedVersion == nullptr)
|
||||
{
|
||||
QString text = tr("Version not selected");
|
||||
SpecMsgBox(this, SpecMsgBox::TypeSpecMsgBox::warningClose, text).exec();
|
||||
SpecMsgBox::WarningClose(this, text);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -160,7 +161,7 @@ void DialogVersionControl::on_deleteVersionButton_clicked()
|
||||
if (selectedVersion == nullptr)
|
||||
{
|
||||
QString text = tr("Version not selected");
|
||||
SpecMsgBox(this, SpecMsgBox::TypeSpecMsgBox::warningClose, text).exec();
|
||||
SpecMsgBox::WarningClose(this, text);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -172,7 +173,7 @@ void DialogVersionControl::on_switchServerVersionButton_clicked()
|
||||
if (selectedVersion == nullptr)
|
||||
{
|
||||
QString text = tr("Version not selected");
|
||||
SpecMsgBox(this, SpecMsgBox::TypeSpecMsgBox::warningClose, text).exec();
|
||||
SpecMsgBox::WarningClose(this, text);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -209,6 +210,11 @@ void DialogVersionControl::slot_SetVersion(StreamingVersionData *serverVersion)
|
||||
flGetVersion = true;
|
||||
}
|
||||
|
||||
void DialogVersionControl::slot_NotifyVersionControl(QString text)
|
||||
{
|
||||
SpecMsgBox::WarningClose(this, text);
|
||||
}
|
||||
|
||||
void DialogVersionControl::resizeEvent(QResizeEvent *event)
|
||||
{
|
||||
QSize size = event->size();
|
||||
|
||||
@@ -39,6 +39,7 @@ private slots:
|
||||
void slot_activateLoadAnimation(bool flag);
|
||||
void slot_showServerList(QList<StreamingVersionData*> *serverList);
|
||||
void slot_SetVersion(StreamingVersionData* serverVersion);
|
||||
void slot_NotifyVersionControl(QString text);
|
||||
|
||||
signals:
|
||||
void sigSendDeleteVersion(StreamingVersionData *streaming);
|
||||
|
||||
Reference in New Issue
Block a user