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

Public 成员函数

额外继承的成员函数

详细描述

在文件 QScrollArea.x4 行定义.

构造及析构函数说明

◆ QScrollArea() [1/2]

QScrollArea ( )

在文件 QScrollArea.x5 行定义.

5 {
6
7 }

◆ QScrollArea() [2/2]

QScrollArea ( long  handle)

在文件 QScrollArea.x9 行定义.

9 {
10 super(handle);
11 }

成员函数说明

◆ alignment()

int alignment ( )

在文件 QScrollArea.x37 行定义.

37 {
38 return QtXnl.widget_get_int_value(nativehandle, Constant.QSA_GETALIGNMENT);
39 }

◆ create() [1/2]

bool create ( )
override

重载 QWidget .

在文件 QScrollArea.x13 行定义.

13 {
14 nativehandle = QtXnl.createQObject(QType.qtScrollArea, this, 0);
15 if (nativehandle == 0){
16 return false;
17 }
18 return true;
19 }
long nativehandle
Definition QNative.xcsm:91

◆ create() [2/2]

bool create ( @NotNilptr QWidget  parent)
override

重载 QWidget .

在文件 QScrollArea.x21 行定义.

21 {
22 nativehandle = QtXnl.createQObject(QType.qtScrollArea, this, parent.nativehandle);
23 if (nativehandle == 0){
24 return false;
25 }
26 return true;
27 }

◆ setAlignment()

void setAlignment ( int  a)

在文件 QScrollArea.x40 行定义.

40 {
41 QtXnl.widget_set_vint_value(nativehandle, Constant.QSA_SETALIGNMENT, a);
42 }

◆ setWidgetResizable()

void setWidgetResizable ( bool  b)

在文件 QScrollArea.x47 行定义.

47 {
48 QtXnl.widget_set_bool_value(nativehandle, Constant.QSA_SETWIDGETRESIZABLE, b);
49 }

◆ takeWidget()

Qt.QWidget takeWidget ( )

在文件 QScrollArea.x29 行定义.

29 {
31 }
static const int QSA_TAKEWIDGET
Definition Constant.x:1105
Object cdecl widget_get_object(long h, int proid)
Definition QCefQuery.x:3

引用了 Constant.QSA_TAKEWIDGET , 以及 QtXnl.widget_get_object().

◆ widget()

Qt.QWidget widget ( )

在文件 QScrollArea.x33 行定义.

33 {
34 return (Qt.QWidget)Qt.QtXnl.widget_get_object(nativehandle, Qt.Constant.QSA_WIDGET);
35 }
static const int QSA_WIDGET
Definition Constant.x:1104

引用了 Constant.QSA_WIDGET , 以及 QtXnl.widget_get_object().

◆ widgetResizable()

bool widgetResizable ( )

在文件 QScrollArea.x43 行定义.

43 {
44 return QtXnl.widget_get_bool_value(nativehandle, Constant.QSA_WIDGETRESIZABLE);
45 }