xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
静态 Public 成员函数 | 静态 Public 属性
QMessageBox类 参考
类 QMessageBox 继承关系图:
QObject

静态 Public 成员函数

静态 Public 属性

额外继承的成员函数

详细描述

在文件 QMessageBox.xcsm3 行定义.

成员函数说明

◆ About()

static void About ( String  caption,
String  text 
)
static

在文件 QMessageBox.xcsm46 行定义.

46 {
47 QtXnl.long_string2_int2(0, Constant.MESSAGEBOXABT, caption, text, 0, 0);
48 }

◆ Critical()

static int Critical ( String  caption,
String  text,
int  button,
int  defaultBtn 
)
static

在文件 QMessageBox.xcsm32 行定义.

32 {
33 return QtXnl.long_string2_int2(0, Constant.MESSAGEBOXERR, caption, text, button, defaultBtn);
34 }

◆ Information()

static int Information ( String  caption,
String  text,
int  button,
int  defaultBtn 
)
static

在文件 QMessageBox.xcsm42 行定义.

42 {
43 return QtXnl.long_string2_int2(0, Constant.MESSAGEBOXINF, caption, text, button, defaultBtn);
44 }

◆ Question()

static int Question ( String  caption,
String  text,
int  button,
int  defaultBtn 
)
static

在文件 QMessageBox.xcsm39 行定义.

39 {
40 return QtXnl.long_string2_int2(0, Constant.MESSAGEBOXQUE, caption, text, button, defaultBtn);
41 }

◆ Warning()

static int Warning ( String  caption,
String  text,
int  button,
int  defaultBtn 
)
static

在文件 QMessageBox.xcsm35 行定义.

35 {
36 return QtXnl.long_string2_int2(0, Constant.MESSAGEBOXWAR, caption, text, button, defaultBtn);
37 }

结构体成员变量说明

◆ Abort

const int Abort = 0x00040000
static

在文件 QMessageBox.xcsm13 行定义.

◆ Apply

const int Apply = 0x02000000
static

在文件 QMessageBox.xcsm20 行定义.

◆ ButtonMask

const int ButtonMask = ~FlagMask
static

在文件 QMessageBox.xcsm30 行定义.

◆ Cancel

const int Cancel = 0x00400000
static

在文件 QMessageBox.xcsm17 行定义.

◆ Close

const int Close = 0x00200000
static

在文件 QMessageBox.xcsm16 行定义.

◆ Default

const int Default = 0x00000100
static

在文件 QMessageBox.xcsm27 行定义.

◆ Discard

const int Discard = 0x00800000
static

在文件 QMessageBox.xcsm18 行定义.

◆ Escape

const int Escape = 0x00000200
static

在文件 QMessageBox.xcsm28 行定义.

◆ FirstButton

const int FirstButton = Ok
static

在文件 QMessageBox.xcsm23 行定义.

◆ FlagMask

const int FlagMask = 0x00000300
static

在文件 QMessageBox.xcsm29 行定义.

◆ Help

const int Help = 0x01000000
static

在文件 QMessageBox.xcsm19 行定义.

◆ Ignore

const int Ignore = 0x00100000
static

在文件 QMessageBox.xcsm15 行定义.

◆ LastButton

const int LastButton = RestoreDefaults
static

在文件 QMessageBox.xcsm24 行定义.

◆ No

const int No = 0x00010000
static

在文件 QMessageBox.xcsm11 行定义.

◆ NoAll

const int NoAll = NoToAll
static

在文件 QMessageBox.xcsm26 行定义.

◆ NoButton

const int NoButton = 0x00000000
static

在文件 QMessageBox.xcsm4 行定义.

◆ NoToAll

const int NoToAll = 0x00020000
static

在文件 QMessageBox.xcsm12 行定义.

◆ Ok

const int Ok = 0x00000400
static

在文件 QMessageBox.xcsm5 行定义.

◆ Open

const int Open = 0x00002000
static

在文件 QMessageBox.xcsm8 行定义.

◆ Reset

const int Reset = 0x04000000
static

在文件 QMessageBox.xcsm21 行定义.

◆ RestoreDefaults

const int RestoreDefaults = 0x08000000
static

在文件 QMessageBox.xcsm22 行定义.

◆ Retry

const int Retry = 0x00080000
static

在文件 QMessageBox.xcsm14 行定义.

◆ Save

const int Save = 0x00000800
static

在文件 QMessageBox.xcsm6 行定义.

◆ SaveAll

const int SaveAll = 0x00001000
static

在文件 QMessageBox.xcsm7 行定义.

◆ Yes

const int Yes = 0x00004000
static

在文件 QMessageBox.xcsm9 行定义.

◆ YesAll

const int YesAll = YesToAll
static

在文件 QMessageBox.xcsm25 行定义.

◆ YesToAll

const int YesToAll = 0x00008000
static

在文件 QMessageBox.xcsm10 行定义.