mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
отработка hash ready на GUI
This commit is contained in:
@@ -267,8 +267,7 @@ void RecognizeSystem::recognize(QTcpSocket *socket)
|
||||
|
||||
if(packetType == PacketType::HASH_READY)
|
||||
{
|
||||
//connectorToServer->sendQueryTasksXML("fim");
|
||||
//connectorToServer->sendQueryTasksXML("amm");
|
||||
emit sigHashReady();
|
||||
}
|
||||
|
||||
//xml-ответы на запросы к БД
|
||||
|
||||
@@ -56,6 +56,7 @@ signals:
|
||||
void sigSetVersion(StreamingVersionData* serverVersion);
|
||||
void sigNotify(QString text);
|
||||
void sigAnimationActivated(bool flag);
|
||||
void sigHashReady();
|
||||
|
||||
private:
|
||||
QList<QString> *folderList;
|
||||
|
||||
@@ -384,6 +384,12 @@ void ConnectorToServer::showServerList(QList<StreamingVersionData *> *serverList
|
||||
versionSelectWidget->fillView(serverList);
|
||||
}
|
||||
|
||||
void ConnectorToServer::slot_HashReady()
|
||||
{
|
||||
//sendQueryTasksXML("fim");
|
||||
sendQueryTasksXML("amm");
|
||||
}
|
||||
|
||||
void ConnectorToServer::initialize()
|
||||
{
|
||||
createObjects();
|
||||
@@ -426,6 +432,8 @@ void ConnectorToServer::bindConnection()
|
||||
connect(client,&TCPClient::signal_ConnectedToServer,this,&ConnectorToServer::signal_ConnectedToServer,Qt::AutoConnection);
|
||||
|
||||
connect(recognizeSystem,&RecognizeSystem::sigNotify,notifyController,&NotifyController::showWarning,Qt::AutoConnection);
|
||||
|
||||
connect(recognizeSystem,&RecognizeSystem::sigHashReady,this,&ConnectorToServer::slot_HashReady);
|
||||
}
|
||||
|
||||
void ConnectorToServer::createObjects()
|
||||
|
||||
@@ -82,6 +82,8 @@ public slots:
|
||||
void slot_msgToClientReady(QString login, QString text);
|
||||
void showServerList(QList<StreamingVersionData*> *serverList);
|
||||
|
||||
void slot_HashReady();
|
||||
|
||||
signals:
|
||||
void sigSetConnect(ServerSettings* serverSettings,QThread *thread);
|
||||
void sigStopConnect();
|
||||
|
||||
Reference in New Issue
Block a user