xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
QwtPlotLegendItem.x
浏览该文件的文档.
1//xlang Source, Name:QwtPlotLegendItem.x
2//Date: Thu Nov 05:11:58 2023
3package Qt{
4 @SuppressWarnings public class QwtPlotLegendItem: QwtPlotItem{
5 enum BackgroundMode
6 {
8 LegendBackground,
9
11 ItemBackground
12 };
13
15 nativehandle = QtXnl.createNObject(QType.qtQwtPlotLegendItem, 0);
16 if (nativehandle == 0){
17 throw new IllegalArgumentException("can not new QwtPlotLegendItem");
18 }
19 }
20
21 public void setAlignmentInCanvas(int Alignment){
22 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotLegendItem_setAlignmentInCanvas, Alignment, 0);
23 }
24
25 public void setOffsetInCanvas(Orientation orientations, int numPixels ){
26 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotLegendItem_setOffsetInCanvas, orientations, numPixels);
27 }
28
29 public void setMaxColumns(int v){
30 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotLegendItem_setMaxColumns, v, 0);
31 }
32
33
34 public void setMargin( int v){
35 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotLegendItem_setMargin, v, 0);
36 }
37
38 public void setSpacing( int v){
39 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotLegendItem_setSpacing, v, 0);
40 }
41
42 public void setItemMargin( int v){
43 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotLegendItem_setItemMargin, v, 0);
44 }
45
46 public void setItemSpacing( int v){
47 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotLegendItem_setItemSpacing, v, 0);
48 }
49
50 public void setFont( QFont f){
51 QtXnl.widget_set_native_value(nativehandle, Constant.QwtPlotLegendItem_setFont, f.nativehandle);
52 }
53
54 public void setBorderRadius( double v){
55 QtXnl.widget_set_double_value(nativehandle,Constant.QwtPlotLegendItem_setBorderRadius, v);
56 }
57
58 public void setBorderPen(int color ,int width){
59 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotLegendItem_setBorderPen, color, width);
60 }
61
62 public void setBackgroundBrush(int color , int style){
63 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotLegendItem_setBackgroundBrush, color, style);
64 }
65
66 public void setBackgroundMode(BackgroundMode bm){
67 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotLegendItem_setBackgroundMode, bm, 0);
68 }
69
70 public void setTextPen(int color ,int width){
71 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotLegendItem_setTextPen, color, width);
72 }
73
74 public void finalize(){
75 QtXnl.widget_slot(nativehandle, Constant.QwtPlotLegendItem_CTOR);
76 }
77 };
78};
void setBorderPen(int color ,int width)
void setBackgroundBrush(int color , int style)
void setOffsetInCanvas(Orientation orientations, int numPixels )
void setAlignmentInCanvas(int Alignment)
void setItemSpacing( int v)
void setBorderRadius( double v)
void setTextPen(int color ,int width)
void setBackgroundMode(BackgroundMode bm)