mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
20 lines
441 B
C++
20 lines
441 B
C++
#include <QMessageBox>
|
|
|
|
#include "notifycontroller.h"
|
|
#include "specialmessagebox.h"
|
|
|
|
NotifyController::NotifyController(QWidget *parentWidget, QObject *parent) :
|
|
QObject(parent),
|
|
parentWidget(parentWidget)
|
|
{
|
|
|
|
}
|
|
|
|
void NotifyController::showWarning(QString text, QWidget *parentWidget)
|
|
{
|
|
if(parentWidget)
|
|
SpecMsgBox::WarningClose(parentWidget, text);
|
|
else
|
|
SpecMsgBox::WarningClose(this->parentWidget, text);
|
|
}
|