xlang
v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
xlibrarys
Qt5
Qt5
qt5
widgets
QValueAxis.x
浏览该文件的文档.
1
//xlang Source, Name:qt5/widgets/QValueAxis.x
2
//Date: Fri Sep 05:25:30 2022
3
package
Qt{
4
@SuppressWarnings public class QValueAxis : QAbstractAxis{
5
public enum TickType {
6
TicksDynamic = 0,
7
TicksFixed
8
};
9
public
QValueAxis
(){
10
nativehandle = QtXnl.createQObject(QType.qtValueAxis,
this
, 0);
11
if
(nativehandle == 0){
12
throw
new
Exception
(
"can not create QValueAxis"
);
13
}
14
}
15
16
public
QValueAxis
(
long
handle){
17
super(handle);
18
}
19
20
public
void
setRange
(
double
min,
double
max){
21
QtXnl.native_double2(nativehandle, Constant.QVALUEAXIS_SETRANGE, min, max);
22
}
23
24
public
void
setLabelFormat
(
String
format){
25
QtXnl.widget_slot_string(nativehandle, Constant.QVALUEAXIS_SETLABELFORMAT, format);
26
}
27
28
public
String
labelFormat
() {
29
return
(
String
)QtXnl.core_getString(nativehandle, Constant.QVALUEAXIS_LABELFORMAT);
30
}
31
32
33
public
void
setTickCount
(
int
count){
34
QtXnl.widget_set_vint_value(nativehandle, Constant.QVALUEAXIS_SETTICKCOUNT, count);
35
}
36
37
public
int
tickCount
() {
38
return
QtXnl.widget_get_int_value(nativehandle, Constant.QVALUEAXIS_TICKCOUNT);
39
}
40
41
public
void
setMinorTickCount
(
int
count){
42
QtXnl.widget_set_vint_value(nativehandle, Constant.QVALUEAXIS_SETMINORTICKCOUNT, count);
43
}
44
45
public
int
minorTickCount
() {
46
return
QtXnl.widget_get_int_value(nativehandle, Constant.QVALUEAXIS_MINORTICKCOUNT);
47
}
48
49
public
void
setTickType
(TickType type){
50
QtXnl.widget_set_vint_value(nativehandle, Constant.QXYSERIES_SETTICKTYPE, type);
51
}
52
53
public
TickType
tickType
() {
54
return
(TickType)QtXnl.widget_get_int_value(nativehandle, Constant.QXYSERIES_TICKTYPE);
55
}
56
};
57
};
Exception
异常类
Definition
BuiltinObjects.x:158
Qt.QValueAxis.setLabelFormat
void setLabelFormat(String format)
Definition
QValueAxis.x:24
Qt.QValueAxis.tickType
TickType tickType()
Definition
QValueAxis.x:53
Qt.QValueAxis.tickCount
int tickCount()
Definition
QValueAxis.x:37
Qt.QValueAxis.labelFormat
String labelFormat()
Definition
QValueAxis.x:28
Qt.QValueAxis.QValueAxis
QValueAxis()
Definition
QValueAxis.x:9
Qt.QValueAxis.setRange
void setRange(double min, double max)
Definition
QValueAxis.x:20
Qt.QValueAxis.setMinorTickCount
void setMinorTickCount(int count)
Definition
QValueAxis.x:41
Qt.QValueAxis.setTickType
void setTickType(TickType type)
Definition
QValueAxis.x:49
Qt.QValueAxis.QValueAxis
QValueAxis(long handle)
Definition
QValueAxis.x:16
Qt.QValueAxis.minorTickCount
int minorTickCount()
Definition
QValueAxis.x:45
Qt.QValueAxis.setTickCount
void setTickCount(int count)
Definition
QValueAxis.x:33
String
字符串类
Definition
BuiltinObjects.x:65
制作者
1.9.8