xlang
v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
xlibrarys
Qt5
Qt5
qt5
widgets
QDialog.xcsm
浏览该文件的文档.
1
package
Qt{
2
@SuppressWarnings public class QDialog : QWidget{
3
public QDialog(){
4
5
}
6
7
public QDialog(long handle){
8
super(handle);
9
}
10
11
public
bool
create
()
override
{
12
nativehandle = QtXnl.createQObject(QType.qtDialog,
this
, 0);
13
if
(nativehandle == 0){
14
return
false
;
15
}
16
return
true
;
17
}
18
19
public
bool
create
(@NotNilptr QWidget parent)
override
{
20
nativehandle = QtXnl.createQObject(QType.qtDialog,
this
, parent.nativehandle);
21
if
(nativehandle == 0){
22
return
false
;
23
}
24
return
true
;
25
}
26
27
public
int
exec
(){
28
return
QtXnl.widget_get_int_value(nativehandle, Constant.PRTDLGEXEC);
29
}
30
31
32
public
void
done
(
int
result){
33
QtXnl.widget_set_vint_value(nativehandle, Constant.PRTDLGDONE, result);
34
}
35
};
36
};
Qt.QDialog.exec
int exec()
Definition
QDialog.xcsm:27
Qt.QDialog.create
bool create() override
Definition
QDialog.xcsm:11
Qt.QDialog.done
void done(int result)
Definition
QDialog.xcsm:32
Qt.QDialog.create
bool create(@NotNilptr QWidget parent) override
Definition
QDialog.xcsm:19
制作者
1.9.8