xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
QAbstractBarSeries.x
浏览该文件的文档.
1//xlang Source, Name:qt5/widgets/QAbstractBarSeries.x
2//Date: Sat Oct 21:48:47 2022
3package Qt{
4 @SuppressWarnings public class QAbstractBarSeries : QAbstractSeries{
5 public enum LabelsPosition {
6 LabelsCenter = 0,
7 LabelsInsideEnd,
8 LabelsInsideBase,
9 LabelsOutsideEnd
10 };
12 public QAbstractBarSeries(long handle){
13 super(handle);
14 }
15
16 public void setBarWidth(double width){
17 QtXnl.widget_set_double_value(nativehandle, Constant.QABSTRACTBARSERIES_SETBARWIDTH, width);
18 }
19
20 public bool append(QBarSet set){
21 return 0 != QtXnl.core_getintlong(nativehandle, Constant.QABSTRACTBARSERIES_APPEND, set.nativehandle);
22 }
23
24 public void setLabelsVisible(bool visible){
25 QtXnl.widget_set_bool_value(nativehandle, Constant.QABSTRACTBARSERIES_SETLABELSVISIBLE, visible);
26 }
27
28 public void setLabelsFormat(String format){
29 QtXnl.widget_slot_string(nativehandle, Constant.QABSTRACTBARSERIES_SETLABELSFORMAT, format);
30 }
31
32 public void setLabelsPosition(LabelsPosition position){
33 QtXnl.widget_set_vint_value(nativehandle, Constant.QABSTRACTBARSERIES_SETLABELSPOSITION, position);
34 }
35 };
36};
void setLabelsVisible(bool visible)
QAbstractBarSeries(long handle)
bool append(QBarSet set)
void setLabelsFormat(String format)
void setLabelsPosition(LabelsPosition position)
void setBarWidth(double width)
字符串类