xlang
v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
xlibrarys
Qt5
Qt5
qt5
widgets
QScrollArea.x
浏览该文件的文档.
1
//xlang Source, Name:QScrollArea.x
2
//Date: Wed Sep 00:17:44 2022
3
package
Qt{
4
@SuppressWarnings public class QScrollArea : QAbstractScrollArea{
5
public QScrollArea(){
6
7
}
8
9
public QScrollArea(long handle){
10
super(handle);
11
}
12
13
public
bool
create
()
override
{
14
nativehandle = QtXnl.createQObject(QType.qtScrollArea,
this
, 0);
15
if
(nativehandle == 0){
16
return
false
;
17
}
18
return
true
;
19
}
20
21
public
bool
create
(@NotNilptr QWidget parent)
override
{
22
nativehandle = QtXnl.createQObject(QType.qtScrollArea,
this
, parent.nativehandle);
23
if
(nativehandle == 0){
24
return
false
;
25
}
26
return
true
;
27
}
28
29
public
Qt.QWidget
takeWidget
() {
30
return
(
Qt
.
QWidget
)
Qt
.
QtXnl
.
widget_get_object
(nativehandle,
Qt
.
Constant
.
QSA_TAKEWIDGET
);
31
}
32
33
public
Qt.QWidget
widget
() {
34
return
(
Qt
.
QWidget
)
Qt
.
QtXnl
.
widget_get_object
(nativehandle,
Qt
.
Constant
.
QSA_WIDGET
);
35
}
36
37
public
int
alignment
() {
38
return
QtXnl.widget_get_int_value(nativehandle, Constant.QSA_GETALIGNMENT);
39
}
40
public
void
setAlignment
(
int
a){
41
QtXnl.widget_set_vint_value(nativehandle, Constant.QSA_SETALIGNMENT, a);
42
}
43
public
bool
widgetResizable
(){
44
return
QtXnl.widget_get_bool_value(nativehandle, Constant.QSA_WIDGETRESIZABLE);
45
}
46
47
public
void
setWidgetResizable
(
bool
b){
48
QtXnl.widget_set_bool_value(nativehandle, Constant.QSA_SETWIDGETRESIZABLE, b);
49
}
50
};
51
};
Qt.Constant
Definition
Constant.x:6
Qt.Constant.QSA_TAKEWIDGET
static const int QSA_TAKEWIDGET
Definition
Constant.x:1105
Qt.Constant.QSA_WIDGET
static const int QSA_WIDGET
Definition
Constant.x:1104
Qt.QScrollArea.setWidgetResizable
void setWidgetResizable(bool b)
Definition
QScrollArea.x:47
Qt.QScrollArea.setAlignment
void setAlignment(int a)
Definition
QScrollArea.x:40
Qt.QScrollArea.create
bool create() override
Definition
QScrollArea.x:13
Qt.QScrollArea.widgetResizable
bool widgetResizable()
Definition
QScrollArea.x:43
Qt.QScrollArea.create
bool create(@NotNilptr QWidget parent) override
Definition
QScrollArea.x:21
Qt.QScrollArea.alignment
int alignment()
Definition
QScrollArea.x:37
Qt.QScrollArea.takeWidget
Qt.QWidget takeWidget()
Definition
QScrollArea.x:29
Qt.QScrollArea.widget
Qt.QWidget widget()
Definition
QScrollArea.x:33
Qt.QWidget
Definition
QWidget.xcsm:3
Qt.QtXnl
Definition
QNative.xcsm:2
Qt.QtXnl.widget_get_object
Object cdecl widget_get_object(long h, int proid)
Qt
Definition
QCefQuery.x:3
制作者
1.9.8