mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-29 20:05:38 +03:00
SpecMsgBox в процессе исправления
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Ui {
|
||||
class SpecialMessageBox;
|
||||
}
|
||||
|
||||
class SpecialMessageBox : public QDialog
|
||||
class SpecMsgBox : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -15,13 +15,22 @@ public:
|
||||
enum TypeSpecMsgBox {
|
||||
warningYesNo,
|
||||
warningClose,
|
||||
critical,
|
||||
info
|
||||
criticalClose,
|
||||
infoOk
|
||||
};
|
||||
|
||||
public:
|
||||
explicit SpecialMessageBox(QWidget *parent, TypeSpecMsgBox type, const QString& text);
|
||||
~SpecialMessageBox();
|
||||
explicit SpecMsgBox(QWidget *parent, TypeSpecMsgBox type, const QString& text);
|
||||
~SpecMsgBox();
|
||||
|
||||
public:
|
||||
static int WarningYesNo(SpecMsgBox* msgBox, QWidget *parent, const QString& text);
|
||||
static int WarningClose(SpecMsgBox* msgBox, QWidget *parent, const QString& text);
|
||||
static int CriticalClose(SpecMsgBox* msgBox, QWidget *parent, const QString& text);
|
||||
static int InfoOk(SpecMsgBox* msgBox, QWidget *parent, const QString& text);
|
||||
|
||||
private:
|
||||
static int work(SpecMsgBox* msgBox, QWidget *parent, TypeSpecMsgBox type, const QString& text);
|
||||
|
||||
private slots:
|
||||
void on_btnYes_clicked();
|
||||
|
||||
Reference in New Issue
Block a user