xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
QwtColumnSymbol.x
浏览该文件的文档.
1//xlang Source, Name:QwtColumnSymbol.x
2//Date: Fri Nov 00:56:07 2023
3package Qt{
4 @SuppressWarnings public class QwtColumnSymbol: QCore{
5 public enum Style
6 {
8 NoStyle = -1,
9
14 Box ,
15
21 UserStyle = 1000
22 };
23
28 public enum FrameStyle
29 {
32
35
37 Raised
38 };
39
41 nativehandle = QtXnl.createNObject(QType.qtQwtColumnSymbol, (int)n);
42 if (nativehandle == 0){
43 throw new IllegalArgumentException("can not new QwtColumnSymbol");
44 }
45 }
46
47 public void setFrameStyle(FrameStyle s){
48 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtColumnSymbol_setFrameStyle, s, 0);
49 }
50
51 public void setLineWidth( int width ){
52 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtColumnSymbol_setLineWidth, width, 0);
53 }
54
55 public void setPalette(int color){
56 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtColumnSymbol_setPalette, color, 0);
57 }
58
59 public void setStyle( Style s){
60 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtColumnSymbol_setStyle, s, 0);
61 }
62
63 public void delete(){
64 QtXnl.widget_slot(nativehandle, Constant.QwtColumnSymbol_CTOR);
65 nativehandle = 0;
66 }
67 };
68};
void setStyle( Style s)
void setFrameStyle(FrameStyle s)
void setPalette(int color)
void setLineWidth( int width )