xlang
v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
xlibrarys
Qt5
Qt5
QwtPlotBarChart.x
浏览该文件的文档.
1
//xlang Source, Name:QwtPlotBarChart.x
2
//Date: Wed Nov 05:00:16 2023
3
package
Qt{
4
@SuppressWarnings public class QwtPlotBarChart: QwtPlotAbstractBarChart{
5
public enum LegendMode
6
{
13
LegendChartTitle,
14
21
LegendBarTitles
22
};
23
24
public
QwtPlotBarChart
(
String
title)
throws
IllegalArgumentException
{
25
nativehandle = QtXnl.long_object_string(0, QType.qtQwtPlotBarChart,
this
, title);
26
if
(nativehandle == 0){
27
throw
new
IllegalArgumentException
(
"can not new QwtPlotBarChart"
);
28
}
29
}
30
31
public
void
setSamples
(
float
[] yData,
int
size ){
32
QtXnl.pointer_intlong2(yData, Constant.QwtPlotBarChart_setSamples, nativehandle, size);
33
}
34
35
public
void
setSymbol
(QwtColumnSymbol s){
36
QtXnl.object_set_long_int_long(nativehandle, Constant.QwtPlotBarChart_setSymbol, 0, 0, s.nativehandle);
37
}
38
39
public
QwtColumnSymbol
specialSymbol
(
int
sampleIndex,
float
x,
float
y) {
40
return
nilptr;
41
}
42
43
public
QwtText
barTitle
(
int
sampleIndex ) {
44
return
new
QwtText(
""
+ sampleIndex);
45
}
46
47
public
void
delete
(){
48
QtXnl.widget_slot(nativehandle, Constant.QwtPlotBarChart_CTOR);
49
}
50
};
51
};
IllegalArgumentException
参数异常
Definition
BuiltinObjects.x:501
Qt.QwtPlotBarChart.barTitle
QwtText barTitle( int sampleIndex )
Definition
QwtPlotBarChart.x:43
Qt.QwtPlotBarChart.specialSymbol
QwtColumnSymbol specialSymbol(int sampleIndex, float x, float y)
Definition
QwtPlotBarChart.x:39
Qt.QwtPlotBarChart.setSymbol
void setSymbol(QwtColumnSymbol s)
Definition
QwtPlotBarChart.x:35
Qt.QwtPlotBarChart.delete
void delete()
Definition
QwtPlotBarChart.x:47
Qt.QwtPlotBarChart.QwtPlotBarChart
QwtPlotBarChart(String title)
Definition
QwtPlotBarChart.x:24
Qt.QwtPlotBarChart.setSamples
void setSamples(float [] yData, int size )
Definition
QwtPlotBarChart.x:31
String
字符串类
Definition
BuiltinObjects.x:65
制作者
1.9.8