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

Public 成员函数

包函数

包属性

额外继承的成员函数

详细描述

在文件 QVideoWidget.x4 行定义.

构造及析构函数说明

◆ QVideoWidget() [1/2]

QVideoWidget ( )

在文件 QVideoWidget.x31 行定义.

31 {
32
33 }

◆ QVideoWidget() [2/2]

QVideoWidget ( long  h)

在文件 QVideoWidget.x34 行定义.

34 {
35 super(h);
36 }

成员函数说明

◆ aspectRatioMode()

AspectRatioMode aspectRatioMode ( )

在文件 QVideoWidget.x42 行定义.

42 {
43 return (AspectRatioMode)QtXnl.widget_get_int_value(nativehandle, Constant.QVIDEOWIDGET_ASPECTRATIOMODE);
44 }

◆ brightness()

int brightness ( )

在文件 QVideoWidget.x46 行定义.

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

◆ brightnessChanged()

void brightnessChanged ( int  brightness)

在文件 QVideoWidget.x90 行定义.

90 {
91 if (_l != nilptr){
92 _l.brightnessChanged(this, brightness);
93 }
94 }
onVideoWidgetListener _l
Definition QVideoWidget.x:6

◆ contrast()

int contrast ( )

在文件 QVideoWidget.x49 行定义.

49 {
50 return QtXnl.widget_get_int_value(nativehandle, Constant.QVIDEOWIDGET_CONTRAST);
51 }

◆ contrastChanged()

void contrastChanged ( int  contrast)

在文件 QVideoWidget.x95 行定义.

95 {
96 if (_l != nilptr){
97 _l.contrastChanged(this, contrast);
98 }
99 }

◆ create() [1/2]

bool create ( )
override

重载 QWidget .

在文件 QVideoWidget.x15 行定义.

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

◆ create() [2/2]

bool create ( @NotNilptr QWidget  parent)
override

重载 QWidget .

在文件 QVideoWidget.x23 行定义.

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

◆ fullScreenChanged()

void fullScreenChanged ( bool  fullScreen)

在文件 QVideoWidget.x85 行定义.

85 {
86 if (_l != nilptr){
87 _l.fullScreenChanged(this, fullScreen);
88 }
89 }

◆ getOnVideoWidgetListener()

onVideoWidgetListener getOnVideoWidgetListener ( )

在文件 QVideoWidget.x11 行定义.

11 {
12 return _l;
13 }

◆ hue()

int hue ( )

在文件 QVideoWidget.x52 行定义.

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

◆ hueChanged()

void hueChanged ( int  hue)

在文件 QVideoWidget.x100 行定义.

100 {
101 if (_l != nilptr){
102 _l.hueChanged(this, hue);
103 }
104 }

◆ mediaObject()

QMediaObject mediaObject ( )
package

在文件 QVideoWidget.x38 行定义.

38 {
39 return (QMediaObject)QtXnl.widget_get_object(nativehandle, Constant.QVIDEOWIDGET_MEDIAOBJECT);
40 }

◆ saturation()

int saturation ( )

在文件 QVideoWidget.x55 行定义.

55 {
56 return QtXnl.widget_get_int_value(nativehandle, Constant.QVIDEOWIDGET_SATURATION);
57 }

◆ saturationChanged()

void saturationChanged ( int  saturation)

在文件 QVideoWidget.x105 行定义.

105 {
106 if (_l != nilptr){
107 _l.saturationChanged(this, saturation);
108 }
109 }

◆ setAspectRatioMode()

void setAspectRatioMode ( AspectRatioMode  mode)

在文件 QVideoWidget.x68 行定义.

68 {
69 QtXnl.widget_set_vint_value(nativehandle, Constant.QVIDEOWIDGET_SETASPECTRATIOMODE, mode);
70 }

◆ setBrightness()

void setBrightness ( int  brightness)

在文件 QVideoWidget.x71 行定义.

71 {
72 QtXnl.widget_set_vint_value(nativehandle, Constant.QVIDEOWIDGET_SETBRIGHTNESS, brightness);
73 }

◆ setContrast()

void setContrast ( int  contrast)

在文件 QVideoWidget.x74 行定义.

74 {
75 QtXnl.widget_set_vint_value(nativehandle, Constant.QVIDEOWIDGET_SETCONTRAST, contrast);
76 }

◆ setFullScreen()

void setFullScreen ( bool  fullScreen)

在文件 QVideoWidget.x65 行定义.

65 {
66 QtXnl.widget_set_bool_value(nativehandle, Constant.QVIDEOWIDGET_SETFULLSCREEN, fullScreen);
67 }

◆ setHue()

void setHue ( int  hue)

在文件 QVideoWidget.x77 行定义.

77 {
78 QtXnl.widget_set_vint_value(nativehandle, Constant.QVIDEOWIDGET_SETHUE, hue);
79 }

◆ setOnVideoWidgetListener()

void setOnVideoWidgetListener ( onVideoWidgetListener  l)

在文件 QVideoWidget.x8 行定义.

8 {
9 _l = l;
10 }

◆ setSaturation()

void setSaturation ( int  saturation)

在文件 QVideoWidget.x80 行定义.

80 {
81 QtXnl.widget_set_vint_value(nativehandle, Constant.QVIDEOWIDGET_SETSATURATION, saturation);
82 }

◆ sizeHint()

QSize sizeHint ( )

在文件 QVideoWidget.x59 行定义.

59 {
60 long lsize = QtXnl.long_get(nativehandle, Constant.QVIDEOWIDGET_SIZEHINT);
61 return new QSize(lsize >> 32 & 0xffffffff, lsize & 0xffffffff);
62 }

结构体成员变量说明

◆ _l

onVideoWidgetListener _l
package

在文件 QVideoWidget.x6 行定义.