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

结构体

enum  RubberBands
 

Public 成员函数

额外继承的成员函数

详细描述

在文件 QChartView.x4 行定义.

构造及析构函数说明

◆ QChartView() [1/2]

QChartView ( )

在文件 QChartView.x12 行定义.

12 {
13
14 }

◆ QChartView() [2/2]

QChartView ( long  handle)

在文件 QChartView.x16 行定义.

16 {
17 super(handle);
18 }

成员函数说明

◆ chart()

QChart chart ( )

在文件 QChartView.x44 行定义.

44 {
45 return (QChart)QtXnl.widget_get_object(nativehandle, Constant.QCHARTVIEW_CHART);
46 }

◆ create() [1/2]

bool create ( )
override

重载 QWidget .

在文件 QChartView.x20 行定义.

20 {
21 nativehandle = QtXnl.createQObject(QType.qtChartView, this, 0);
22 if (nativehandle == 0){
23 return false;
24 }
25 return true;
26 }
long nativehandle
Definition QNative.xcsm:91

◆ create() [2/2]

bool create ( @NotNilptr QWidget  parent)
override

重载 QWidget .

在文件 QChartView.x28 行定义.

28 {
29 nativehandle = QtXnl.createQObject(QType.qtChartView, this, parent.nativehandle);
30 if (nativehandle == 0){
31 return false;
32 }
33 return true;
34 }

◆ rubberBand()

RubberBands rubberBand ( )

在文件 QChartView.x40 行定义.

40 {
41 return (RubberBands)QtXnl.widget_get_int_value(nativehandle, Constant.QCHARTVIEW_RUBBERBAND);
42 }

◆ setChart()

void setChart ( QChart  chart)

在文件 QChartView.x48 行定义.

48 {
49 QtXnl.widget_set_native_value(nativehandle, Constant.QCHARTVIEW_SETCHART, chart.nativehandle);
50 }
QChart chart()
Definition QChartView.x:44

◆ setRubberBand()

void setRubberBand ( RubberBands  rubberBands)

在文件 QChartView.x36 行定义.

36 {
37 QtXnl.widget_set_vint_value(nativehandle, Constant.QCHARTVIEW_SETRUBBERBAND, rubberBands);
38 }