xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
QwtSymbol.x
浏览该文件的文档.
1//xlang Source, Name:QwtSymbol.x
2//Date: Wed Nov 05:04:22 2023
3package Qt{
4 @SuppressWarnings public class QwtSymbol: QCore{
5 public enum Style
6 {
7 // ! No Style. The symbol cannot be drawn.
8 NoSymbol = -1,
9
10 // ! Ellipse or circle
11 Ellipse,
12
13 // ! Rectangle
14 Rect,
15
16 // ! Diamond
17 Diamond,
18
19 // ! Triangle pointing upwards
20 Triangle,
21
22 // ! Triangle pointing downwards
23 DTriangle,
24
25 // ! Triangle pointing upwards
26 UTriangle,
27
28 // ! Triangle pointing left
29 LTriangle,
30
31 // ! Triangle pointing right
32 RTriangle,
33
34 // ! Cross (+)
35 Cross,
36
37 // ! Diagonal cross (X)
38 XCross,
39
40 // ! Horizontal line
41 HLine,
42
43 // ! Vertical line
44 VLine,
45
46 // ! X combined with +
47 Star1,
48
49 // ! Six-pointed star
50 Star2,
51
52 // ! Hexagon
53 Hexagon,
54
62 Path,
63
70 Pixmap,
71
78 Graphic,
79
86 SvgDocument,
87
93 UserStyle = 1000
94 };
95
117 public enum CachePolicy
118 {
121
124
131 AutoCache
132 };
133
134 public QwtSymbol(Style s, int brushColor, int brushStyle, int color, int stroke, QSize ss){
135 nativehandle = QtXnl.pointer_intlong2(new int[]{s, brushColor, brushStyle, color, stroke, ss.width(), ss.height()}, Constant.QwtSymbol_create, 0, 0);
136 }
137
138 public void delete(){
139 QtXnl.widget_slot(nativehandle, Constant.QwtSymbol_CTOR);
140 nativehandle = 0;
141 }
142 };
143};
QwtSymbol(Style s, int brushColor, int brushStyle, int color, int stroke, QSize ss)
Definition QwtSymbol.x:134
void delete()
Definition QwtSymbol.x:138
Cache
Always use a pixmap cache
Definition QwtSymbol.x:123
NoCache
Don't use a pixmap cache
Definition QwtSymbol.x:120