feat: add server notify

This commit is contained in:
semenov
2025-01-09 12:59:10 +03:00
parent 78e8ecbde6
commit 65a0dca9bf
34 changed files with 979 additions and 380 deletions

15
Core/notifycontroller.cpp Normal file
View File

@@ -0,0 +1,15 @@
#include "notifycontroller.h"
NotifyController::NotifyController(QObject *parent) : QObject(parent)
{
}
void NotifyController::showWarning(QString text)
{
QMessageBox warning;
warning.setText(text);
warning.setIcon(QMessageBox::Warning);
warning.setWindowTitle(tr("Ошибка"));
warning.exec();
}