xlang
v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
xlibrarys
Qt5
Qt5
QwtScaleDraw.x
浏览该文件的文档.
1
//xlang Source, Name:QwtScaleDraw.x
2
//Date: Wed Nov 04:20:30 2023
3
package
Qt{
4
@SuppressWarnings public class QwtScaleDraw: QCore{
5
public QwtScaleDraw() throws IllegalArgumentException{
6
nativehandle = QtXnl.createQObject(QType.qtQwtScaleDraw, this, 0l);
7
if
(nativehandle == 0){
8
throw
new
IllegalArgumentException
(
"can not new QwtScaleDraw"
);
9
}
10
}
11
12
public
QwtText
label
(
double
value ) {
13
return
new
QwtText(
""
+ value);
14
}
15
16
public
void
setLabelRotation
(
double
rotation ){
17
QtXnl.widget_set_double_value(nativehandle,Constant.QwtScaleDraw_setLabelRotation, rotation);
18
}
19
20
public
void
setLabelAlignment
(
int
n){
21
QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtScaleDraw_setLabelAlignment, n, 0);
22
}
23
24
public
void
delete
(){
25
QtXnl.widget_slot(nativehandle, Constant.QwtScaleDraw_CTOR);
26
}
27
};
28
};
IllegalArgumentException
参数异常
Definition
BuiltinObjects.x:501
Qt.QwtScaleDraw.label
QwtText label( double value )
Definition
QwtScaleDraw.x:12
Qt.QwtScaleDraw.delete
void delete()
Definition
QwtScaleDraw.x:24
Qt.QwtScaleDraw.setLabelAlignment
void setLabelAlignment(int n)
Definition
QwtScaleDraw.x:20
Qt.QwtScaleDraw.setLabelRotation
void setLabelRotation( double rotation )
Definition
QwtScaleDraw.x:16
制作者
1.9.8