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

Public 成员函数

静态 Public 属性

额外继承的成员函数

详细描述

在文件 QDockWidget.xcsm3 行定义.

构造及析构函数说明

◆ QDockWidget() [1/2]

QDockWidget ( )

在文件 QDockWidget.xcsm31 行定义.

31 {
32 }

◆ QDockWidget() [2/2]

QDockWidget ( long  handle)

在文件 QDockWidget.xcsm34 行定义.

34 {
35 super(handle);
36 }

成员函数说明

◆ create()

bool create ( @NotNilptr QWidget  parent)
override

重载 QWidget .

在文件 QDockWidget.xcsm23 行定义.

23 {
24 nativehandle = QtXnl.createQObject(QType.qtDockWidget, this, parent.nativehandle);
25 if (nativehandle == 0) {
26 return false;
27 }
28 return true;
29 }
long nativehandle
Definition QNative.xcsm:91

◆ getTitalBar()

QWidget getTitalBar ( )

在文件 QDockWidget.xcsm45 行定义.

45 {
46 return (QWidget)QtXnl.widget_get_object(nativehandle, Constant.TITLEBAR);
47 }

◆ getWidget()

QWidget getWidget ( )

在文件 QDockWidget.xcsm63 行定义.

63 {
64 return (QWidget)QtXnl.widget_get_object(nativehandle, Constant.GETWIDGET);
65 }

◆ isFlating()

bool isFlating ( )

在文件 QDockWidget.xcsm37 行定义.

37 {
38 return QtXnl.widget_get_bool_value(nativehandle, Constant.FLATING);
39 }

◆ setAllowedAreas()

void setAllowedAreas ( int  area)

在文件 QDockWidget.xcsm55 行定义.

55 {
56 QtXnl.widget_set_vint_value(nativehandle, Constant.DOCKSETALLOWEDAREAS, area);
57 }

◆ setFeatures()

void setFeatures ( int  features)

在文件 QDockWidget.xcsm50 行定义.

50 {
51 QtXnl.widget_set_vint_value(nativehandle, Constant.DOCKWIDGETFEATURE, features);
52 }

◆ setFlating()

void setFlating ( bool  b)

在文件 QDockWidget.xcsm41 行定义.

41 {
42 QtXnl.widget_set_bool_value(nativehandle, Constant.FLATING, b);
43 }

◆ setWidget()

void setWidget ( @NotNilptr QWidget  w)

在文件 QDockWidget.xcsm59 行定义.

59 {
60 QtXnl.widget_set_native_value(nativehandle, Constant.SETWIDGET, w.nativehandle);
61 }

结构体成员变量说明

◆ AllDockWidgetAreas

const int AllDockWidgetAreas = 0xf
static

在文件 QDockWidget.xcsm20 行定义.

◆ AllDockWidgetFeatures

const int AllDockWidgetFeatures = DockWidgetClosable|DockWidgetMovable|DockWidgetFloatable
static

在文件 QDockWidget.xcsm9 行定义.

◆ BottomDockWidgetArea

const int BottomDockWidgetArea = 0x8
static

在文件 QDockWidget.xcsm17 行定义.

◆ DockWidgetArea_Mask

const int DockWidgetArea_Mask = 0xf
static

在文件 QDockWidget.xcsm19 行定义.

◆ DockWidgetClosable

const int DockWidgetClosable = 0x01
static

在文件 QDockWidget.xcsm4 行定义.

◆ DockWidgetFeatureMask

const int DockWidgetFeatureMask = 0x0f
static

在文件 QDockWidget.xcsm8 行定义.

◆ DockWidgetFloatable

const int DockWidgetFloatable = 0x04
static

在文件 QDockWidget.xcsm6 行定义.

◆ DockWidgetMovable

const int DockWidgetMovable = 0x02
static

在文件 QDockWidget.xcsm5 行定义.

◆ DockWidgetVerticalTitleBar

const int DockWidgetVerticalTitleBar = 0x08
static

在文件 QDockWidget.xcsm7 行定义.

◆ LeftDockWidgetArea

const int LeftDockWidgetArea = 0x1
static

在文件 QDockWidget.xcsm14 行定义.

◆ NoDockWidgetArea

const int NoDockWidgetArea = 0
static

在文件 QDockWidget.xcsm21 行定义.

◆ NoDockWidgetFeatures

const int NoDockWidgetFeatures = 0x00
static

在文件 QDockWidget.xcsm10 行定义.

◆ Reserved

const int Reserved = 0xff
static

在文件 QDockWidget.xcsm11 行定义.

◆ RightDockWidgetArea

const int RightDockWidgetArea = 0x2
static

在文件 QDockWidget.xcsm15 行定义.

◆ TopDockWidgetArea

const int TopDockWidgetArea = 0x4
static

在文件 QDockWidget.xcsm16 行定义.