xlang
v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
xlibrarys
Qt5
Qt5
QwtColumnSymbol.x
浏览该文件的文档.
1
//xlang Source, Name:QwtColumnSymbol.x
2
//Date: Fri Nov 00:56:07 2023
3
package
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
{
31
NoFrame
,
32
34
Plain
,
35
37
Raised
38
};
39
40
public
QwtColumnSymbol
(Style n)
throws
IllegalArgumentException
{
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
};
IllegalArgumentException
参数异常
Definition
BuiltinObjects.x:501
Qt.QwtColumnSymbol.QwtColumnSymbol
QwtColumnSymbol(Style n)
Definition
QwtColumnSymbol.x:40
Qt.QwtColumnSymbol.setStyle
void setStyle( Style s)
Definition
QwtColumnSymbol.x:59
Qt.QwtColumnSymbol.delete
void delete()
Definition
QwtColumnSymbol.x:63
Qt.QwtColumnSymbol.setFrameStyle
void setFrameStyle(FrameStyle s)
Definition
QwtColumnSymbol.x:47
Qt.QwtColumnSymbol.setPalette
void setPalette(int color)
Definition
QwtColumnSymbol.x:55
Qt.QwtColumnSymbol.setLineWidth
void setLineWidth( int width )
Definition
QwtColumnSymbol.x:51
Qt.QwtColumnSymbol.FrameStyle.Plain
Plain
A plain frame style
Definition
QwtColumnSymbol.x:34
Qt.QwtColumnSymbol.FrameStyle.NoFrame
NoFrame
No frame
Definition
QwtColumnSymbol.x:31
制作者
1.9.8