xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
QwtScaleDraw.x
浏览该文件的文档.
1//xlang Source, Name:QwtScaleDraw.x
2//Date: Wed Nov 04:20:30 2023
3package 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};
QwtText label( double value )
void setLabelAlignment(int n)
void setLabelRotation( double rotation )