xlang
v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
xlibrarys
Qt5
Qt5
QwtPlotMarker.x
浏览该文件的文档.
1
//xlang Source, Name:QwtPlotMarker.x
2
//Date: Wed Nov 22:34:35 2023
3
package
Qt{
4
@SuppressWarnings public class QwtPlotMarker: QwtPlotItem{
5
public enum LineStyle
6
{
8
NoLine,
9
11
HLine,
12
14
VLine,
15
17
Cross
18
};
19
20
public
QwtPlotMarker
(
String
text)
throws
IllegalArgumentException
{
21
nativehandle = QtXnl.createSObject(QType.qtQwtPlotMarker, text);
22
if
(nativehandle == 0){
23
throw
new
IllegalArgumentException
(
"can not new QwtPlotMarker"
);
24
}
25
}
26
27
public
void
delete
(){
28
QtXnl.widget_slot(nativehandle, Constant.QwtPlotMarker_CTOR);
29
}
30
31
public
void
setXValue
(
double
v){
32
QtXnl.widget_set_double_value(nativehandle,Constant.QwtPlotMarker_setXValue, v);
33
}
34
35
public
void
setLabelAlignment
(
int
x){
36
QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotMarker_setLabelAlignment, x, 0);
37
}
38
39
public
void
setLabelOrientation
(Orientation x){
40
QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotMarker_setLabelOrientation, x, 0);
41
}
42
43
public
void
setLabel
(
String
title ){
44
QtXnl.widget_slot_string(nativehandle, Constant.QwtPlotMarker_setLabel, title);
45
}
46
47
public
void
setLabel
(QwtText title ){
48
QtXnl.widget_set_native_value(nativehandle, Constant.QwtPlotMarker_setLabel, title.nativehandle);
49
}
50
51
public
void
setYValue
(
double
v){
52
QtXnl.widget_set_double_value(nativehandle,Constant.QwtPlotMarker_setYValue, v);
53
}
54
};
55
};
IllegalArgumentException
参数异常
Definition
BuiltinObjects.x:501
Qt.QwtPlotMarker.setYValue
void setYValue( double v)
Definition
QwtPlotMarker.x:51
Qt.QwtPlotMarker.setLabelAlignment
void setLabelAlignment( int x)
Definition
QwtPlotMarker.x:35
Qt.QwtPlotMarker.setLabelOrientation
void setLabelOrientation(Orientation x)
Definition
QwtPlotMarker.x:39
Qt.QwtPlotMarker.delete
void delete()
Definition
QwtPlotMarker.x:27
Qt.QwtPlotMarker.setLabel
void setLabel( String title )
Definition
QwtPlotMarker.x:43
Qt.QwtPlotMarker.setLabel
void setLabel(QwtText title )
Definition
QwtPlotMarker.x:47
Qt.QwtPlotMarker.setXValue
void setXValue( double v)
Definition
QwtPlotMarker.x:31
Qt.QwtPlotMarker.QwtPlotMarker
QwtPlotMarker(String text)
Definition
QwtPlotMarker.x:20
String
字符串类
Definition
BuiltinObjects.x:65
制作者
1.9.8