QtMultiMedia 之 CameraFlash
来源:互联网 发布:中国高等教育水平知乎 编辑:程序博客网 时间:2024/06/05 08:56
QtMultiMedia 之 CameraFlash
翻译:qyvlik
5.5.1
控制相机闪光灯的接♂口♀。
属性
mode
:enumeration
ready
:bool
信号
flashModeChanged(int)
flashReady(bool)
详细描述
This type allows you to operate the camera flash hardware and control the flash mode used. Not all cameras have flash hardware (and in some cases it is shared with the torch hardware).
这个类提供了相机闪光灯的控制模式,并不是所有的相机都有闪光灯模块(可能是手电筒模块)。
It should not be constructed separately, instead the flash property of a Camera should be used.
这个类型不可创建,只能通过 Camera::flash
属性来访问。
Camera { id: camera exposure.exposureCompensation: -1.0 flash.mode: Camera.FlashRedEyeReduction}
属性文档
mode
:enumeration
This property holds the camera flash mode.
闪光灯的闪烁模式。
The mode can be one of the following:
有如下值(本人才疏学浅,某些语句不能翻译,以后补上,请谅解。):
ready
:bool
This property indicates whether the flash is charged.
这个值表示闪光灯是否充电完毕(应该是是否可用吧)。
信号文档
flashModeChanged(int)
This signal is emitted when the flashMode property is changed. The corresponding handler is onFlashModeChanged.
在修改闪光模式时触发。
flashReady(bool)
This signal is emitted when QCameraExposure
indicates that the flash is ready to use. The corresponding handler is onFlashReadyChanged.
在 QCameraExposure
指示 flash
可用时,就会触发此信号。
- QtMultiMedia 之 CameraFlash
- QtMultiMedia之CameraRecorder
- QtMultiMedia 之 CameraCapture
- QtMultiMedia 之 CameraExposure
- QtMultiMedia 之 CameraImageProcessing
- QtMultiMedia 之 CameraFocus
- QtMultiMedia 之 Camera
- QML类型说明-CameraFlash
- QtMultimedia 模块
- QtMultimedia 模块(1)
- QT静态编译--qtmultimedia问题
- qt 使用QtMultimedia模块 录音播放
- Qt游戏开发必备!用QtMultimedia播放Ogg格式音乐
- Qt 游戏开发必备!用 QtMultimedia 播放 Ogg 格式音乐
- Qt 游戏开发必备!用 QtMultimedia 播放 Ogg 格式音乐
- Qt源码重新编译QtMultimedia模块解决XP播放视频问题
- QtMultimedia编译出错的解决方法 make[1]: ***[audiorecord.o] Error 1ui_audiorecord.h:174:error: ‘class QLineEdi
- 復之之理
- [深入Python]sys.modules http://www.cnblogs.com/tuzkee/p/3540448.html
- QtMultiMedia 之 CameraCapture
- 工具的使用——vs2013(二)
- QtMultiMedia 之 CameraExposure
- 文章标题
- QtMultiMedia 之 CameraFlash
- codeforces Simba on the Circle (dp)
- 程序猿的灯谜你不懂
- 如何照顾小孩
- 【ahk】为QQ增加激活主面板的热键
- 字符串转换为整数,相关问题探讨
- 《C++Primer》 学习——第三章
- OD 测试申请内存
- Linux redhat5.5下安装oracle 11g