-
Notifications
You must be signed in to change notification settings - Fork 0
/
msgbox.h
36 lines (30 loc) · 1.38 KB
/
msgbox.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/****************************************************************
* æÁÊÌ : msgbox.h
* îÁÚÎÁÞÅÎÉÅ: óÏÂÓÔ×ÅÎÎÙÅ ÐÏÌØÚÏ×ÁÔÅÌØÓËÉÅ ÄÉÁÌÏÇÉ
* á×ÔÏÒ : A.Kalinin, ToWpeko
* äÁÔÁ ÓÏÚÄÁÎÉÑ: 2003
* äÁÔÁ ÐÏÓÌÅÄÎÅÊ ÒÅÁÌÉÚÁÃÉÉ: 2011\11\23
**************************************************************
*__REVISION_HISTORY__
*
*****************************************************************/
#ifndef QMSGBOX_H
#define QMSGBOX_H
#ifndef QT_H
#include "qmessagebox.h"
#include "qdialog.h"
#endif // QT_H
//--- Ïåðå÷èñëèìûé òèï äàííûõ äëÿ êàòåãîðèè äèàëîãà ---
enum msgDlgType
{Custom, Information, Warning, Critical, mtInformation, mtWarning, mtCritical, mtConfirmation};
//--- Âûçîâ ôóíêöèè, âîçâðàùàþùåé íîìåð íàæàòîé êíîïêè---
int QMessageDlg( msgDlgType dlgType, QWidget *parent, const QString& text,
int button0=0, int button1=0, int button2=0 );
int QMessageDlg( msgDlgType dlgType, QWidget *parent, const QString &caption,
const QString& text, int button0, int button1=0, int button2=0 );
int QMessageDlg( msgDlgType dlgType, QWidget *parent, const QString &caption,
const QString& text, const QString& button0Text = QString::null,
const QString& button1Text = QString::null, const QString& button2Text = QString::null,
int defaultButtonNumber = 0, int escapeButtonNumber = -1);
//-------------------------------
#endif