xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
QwtPlotMarker.x
浏览该文件的文档.
1//xlang Source, Name:QwtPlotMarker.x
2//Date: Wed Nov 22:34:35 2023
3package 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
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};
void setYValue( double v)
void setLabelAlignment( int x)
void setLabelOrientation(Orientation x)
void setLabel( String title )
void setLabel(QwtText title )
void setXValue( double v)
QwtPlotMarker(String text)
字符串类