xlang
v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
xlibrarys
Qt5
Qt5
qt5
widgets
QBarSet.x
浏览该文件的文档.
1
//xlang Source, Name:qt5/widgets/QBarSet.x
2
//Date: Sat Oct 21:48:07 2022
3
4
package
Qt{
5
@SuppressWarnings public class QBarSet : QObject{
6
public QBarSet(){
7
nativehandle = QtXnl.createQObject(QType.qtBarSet, this, 0);
8
if
(nativehandle == 0){
9
throw
new
Exception
(
"can not create QBarSet"
);
10
}
11
}
12
13
public
QBarSet
(
long
handle){
14
super(handle);
15
}
16
17
public
void
append
(
double
value){
18
QtXnl.widget_set_double_value(nativehandle, Constant.QBARSET_APPEND, value);
19
}
20
21
public
void
setLabel
(
String
label){
22
QtXnl.widget_slot_string(nativehandle, Constant.QBARSET_SETLABEL, label);
23
}
24
25
public
void
setColor
(
int
color){
26
QtXnl.widget_set_vint_value(nativehandle, Constant.QBARSET_SETCOLOR, color);
27
}
28
29
public
void
setBorderColor
(
int
color){
30
QtXnl.widget_set_vint_value(nativehandle, Constant.QBARSET_SETBORDERCOLOR, color);
31
}
32
33
public
void
setLabelColor
(
int
color){
34
QtXnl.widget_set_vint_value(nativehandle, Constant.QBARSET_SETLABELCOLOR, color);
35
}
36
};
37
};
Exception
异常类
Definition
BuiltinObjects.x:158
Qt.QBarSet.setLabelColor
void setLabelColor(int color)
Definition
QBarSet.x:33
Qt.QBarSet.QBarSet
QBarSet(long handle)
Definition
QBarSet.x:13
Qt.QBarSet.append
void append(double value)
Definition
QBarSet.x:17
Qt.QBarSet.setColor
void setColor(int color)
Definition
QBarSet.x:25
Qt.QBarSet.setLabel
void setLabel(String label)
Definition
QBarSet.x:21
Qt.QBarSet.setBorderColor
void setBorderColor(int color)
Definition
QBarSet.x:29
String
字符串类
Definition
BuiltinObjects.x:65
制作者
1.9.8