xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
Public 成员函数
QProgressBar类 参考
类 QProgressBar 继承关系图:
QWidget

Public 成员函数

额外继承的成员函数

详细描述

在文件 QProgressBar.xcs4 行定义.

构造及析构函数说明

◆ QProgressBar() [1/2]

QProgressBar ( )

在文件 QProgressBar.xcs5 行定义.

5 {
6
7 }

◆ QProgressBar() [2/2]

QProgressBar ( long  handle)

在文件 QProgressBar.xcs9 行定义.

9 {
10 super(handle);
11 }

成员函数说明

◆ alignment()

int alignment ( )

在文件 QProgressBar.xcs46 行定义.

46 {
47 return QtXnl.widget_get_int_value(nativehandle, Constant.QPALIGN);
48 }

◆ create() [1/2]

bool create ( )
override

重载 QWidget .

在文件 QProgressBar.xcs13 行定义.

13 {
14 nativehandle = QtXnl.createQObject(QType.qtProgressBar, this, 0);
15 if (nativehandle == 0){
16 return false;
17 }
18 return true;
19 }
long nativehandle
Definition QNative.xcsm:91

◆ create() [2/2]

bool create ( @NotNilptr QWidget  parent)
override

重载 QWidget .

在文件 QProgressBar.xcs21 行定义.

21 {
22 nativehandle = QtXnl.createQObject(QType.qtProgressBar, this, parent.nativehandle);
23 if (nativehandle == 0){
24 return false;
25 }
26 return true;
27 }

◆ format()

String format ( )

在文件 QProgressBar.xcs73 行定义.

73 {
74 return (String)QtXnl.core_getString(nativehandle, Constant.QPFORMAT);
75 }
字符串类

◆ getText()

String getText ( )

在文件 QProgressBar.xcs37 行定义.

37 {
38 return (String)QtXnl.core_getString(nativehandle, Constant.QPTEXT);
39 }

◆ invertedAppearance()

bool invertedAppearance ( )

在文件 QProgressBar.xcs58 行定义.

58 {
59 return QtXnl.widget_get_bool_value(nativehandle, Constant.QPINVERTAPPEAR);
60 }

◆ isTextVisible()

bool isTextVisible ( )

在文件 QProgressBar.xcs43 行定义.

43 {
44 return QtXnl.widget_get_bool_value(nativehandle, Constant.QPVISIBLE);
45 }

◆ maximum()

int maximum ( )

在文件 QProgressBar.xcs31 行定义.

31 {
32 return QtXnl.widget_get_int_value(nativehandle, Constant.QPMAXINUM);
33 }

◆ minimum()

int minimum ( )

在文件 QProgressBar.xcs28 行定义.

28 {
29 return QtXnl.widget_get_int_value(nativehandle, Constant.QPMININUM);
30 }

◆ orientation()

int orientation ( )

在文件 QProgressBar.xcs52 行定义.

52 {
53 return QtXnl.widget_get_int_value(nativehandle, Constant.QPORIENTATION);
54 }

◆ reset()

void reset ( )

在文件 QProgressBar.xcs76 行定义.

76 {
77 QtXnl.widget_slot(nativehandle, Constant.QPRESET);
78 }

◆ resetFormat()

void resetFormat ( )

在文件 QProgressBar.xcs70 行定义.

70 {
71 QtXnl.widget_slot(nativehandle, Constant.QPFORMAT);
72 }

◆ setAlignment()

void setAlignment ( int  alignment)

在文件 QProgressBar.xcs49 行定义.

49 {
50 QtXnl.widget_set_vint_value(nativehandle, Constant.QPALIGN, alignment);
51 }

◆ setFormat()

void setFormat ( String  format)

在文件 QProgressBar.xcs67 行定义.

67 {
68 QtXnl.widget_slot_string(nativehandle, Constant.QPFORMAT, format);
69 }

◆ setInvertedAppearance()

void setInvertedAppearance ( bool  invert)

在文件 QProgressBar.xcs55 行定义.

55 {
56 QtXnl.widget_set_bool_value(nativehandle, Constant.QPINVERTAPPEAR, invert);
57 }

◆ setMaximum()

void setMaximum ( int  maximum)

在文件 QProgressBar.xcs85 行定义.

85 {
86 QtXnl.widget_set_vint_value(nativehandle, Constant.QPMAXINUM, maximum);
87 }

◆ setMinimum()

void setMinimum ( int  minimum)

在文件 QProgressBar.xcs82 行定义.

82 {
83 QtXnl.widget_set_vint_value(nativehandle, Constant.QPMININUM, minimum);
84 }

◆ setOrientation()

void setOrientation ( int  Orientation)

在文件 QProgressBar.xcs91 行定义.

91 {
92 QtXnl.widget_set_vint_value(nativehandle, Constant.QPORIENTATION, Orientation);
93 }

◆ setRange()

void setRange ( int  minimum,
int  maximum 
)

在文件 QProgressBar.xcs79 行定义.

79 {
80 QtXnl.widget_set_v2int_value(nativehandle, Constant.QPRANGE, minimum, maximum);
81 }

◆ setTextDirection()

void setTextDirection ( int  textDirection)

在文件 QProgressBar.xcs61 行定义.

61 {
62 QtXnl.widget_set_vint_value(nativehandle, Constant.QPTEXTDIR, textDirection);
63 }

◆ setTextVisible()

void setTextVisible ( bool  visible)

在文件 QProgressBar.xcs40 行定义.

40 {
41 QtXnl.widget_set_bool_value(nativehandle, Constant.QPVISIBLE, visible);
42 }

◆ setValue()

void setValue ( int  value)

在文件 QProgressBar.xcs88 行定义.

88 {
89 QtXnl.widget_set_vint_value(nativehandle, Constant.QPVALUE, value);
90 }

◆ textDirection()

int textDirection ( )

在文件 QProgressBar.xcs64 行定义.

64 {
65 return QtXnl.widget_get_int_value(nativehandle, Constant.QPTEXTDIR);
66 }

◆ value()

int value ( )

在文件 QProgressBar.xcs34 行定义.

34 {
35 return QtXnl.widget_get_int_value(nativehandle, Constant.QPVALUE);
36 }