xlang
v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
xlibrarys
Qt5
Qt5
qt5
widgets
QChartView.x
浏览该文件的文档.
1
//xlang Source, Name:qt5/widgets/QChartView.x
2
//Date: Thu Sep 18:51:31 2022
3
package
Qt{
4
@SuppressWarnings public class QChartView : QAbstractScrollArea{
5
public enum RubberBands {
6
NoRubberBand = 0x0,
7
VerticalRubberBand = 0x1,
8
HorizontalRubberBand = 0x2,
9
RectangleRubberBand = 0x3
10
};
11
12
public
QChartView
(){
13
14
}
15
16
public
QChartView
(
long
handle){
17
super(handle);
18
}
19
20
public
bool
create
()
override
{
21
nativehandle = QtXnl.createQObject(QType.qtChartView,
this
, 0);
22
if
(nativehandle == 0){
23
return
false
;
24
}
25
return
true
;
26
}
27
28
public
bool
create
(@NotNilptr QWidget parent)
override
{
29
nativehandle = QtXnl.createQObject(QType.qtChartView,
this
, parent.nativehandle);
30
if
(nativehandle == 0){
31
return
false
;
32
}
33
return
true
;
34
}
35
36
public
void
setRubberBand
(RubberBands rubberBands){
37
QtXnl.widget_set_vint_value(nativehandle, Constant.QCHARTVIEW_SETRUBBERBAND, rubberBands);
38
}
39
40
public
RubberBands
rubberBand
() {
41
return
(RubberBands)QtXnl.widget_get_int_value(nativehandle, Constant.QCHARTVIEW_RUBBERBAND);
42
}
43
44
public
QChart
chart
() {
45
return
(QChart)QtXnl.widget_get_object(nativehandle, Constant.QCHARTVIEW_CHART);
46
}
47
48
public
void
setChart
(QChart chart){
49
QtXnl.widget_set_native_value(nativehandle, Constant.QCHARTVIEW_SETCHART, chart.nativehandle);
50
}
51
};
52
};
Qt.QChartView.create
bool create() override
Definition
QChartView.x:20
Qt.QChartView.rubberBand
RubberBands rubberBand()
Definition
QChartView.x:40
Qt.QChartView.QChartView
QChartView(long handle)
Definition
QChartView.x:16
Qt.QChartView.chart
QChart chart()
Definition
QChartView.x:44
Qt.QChartView.QChartView
QChartView()
Definition
QChartView.x:12
Qt.QChartView.create
bool create(@NotNilptr QWidget parent) override
Definition
QChartView.x:28
Qt.QChartView.setRubberBand
void setRubberBand(RubberBands rubberBands)
Definition
QChartView.x:36
Qt.QChartView.setChart
void setChart(QChart chart)
Definition
QChartView.x:48
制作者
1.9.8