|
玉兔远程控制 0.1.0-bate4
|


Public 槽 | |
| virtual void | slotStart () |
| virtual void | slotStop () |
| virtual void | slotClipBoardChanged () override |
Public 槽 继承自 CBackendDesktop | |
| virtual void | slotClipBoardChanged ()=0 |
| 当剪切板发生改变时调用 | |
| virtual void | slotMousePressEvent (QMouseEvent *event, QPoint pos) |
| virtual void | slotMouseReleaseEvent (QMouseEvent *event, QPoint pos) |
| virtual void | slotMouseMoveEvent (QMouseEvent *event, QPoint pos) |
| virtual void | slotWheelEvent (QWheelEvent *event, QPoint pos) |
| virtual void | slotKeyPressEvent (QKeyEvent *event) |
| virtual void | slotKeyReleaseEvent (QKeyEvent *event) |
| virtual void | slotInputMethodEvent (QInputMethodEvent *event) |
信号 | |
| void | sigPositionChanged (qint64 pos, qint64 duration) |
信号 继承自 CBackendDesktop | |
| void | sigSetDesktopSize (int width, int height) |
| void | sigServerName (const QString &szName) |
| void | sigUpdateRect (const QRect &r, const QImage &image) |
| 通知视图,图像更新 | |
| void | sigUpdateRect (const QImage &image) |
| Notify the CFrmView update image | |
| void | sigUpdateCursor (const QCursor &cursor) |
| void | sigUpdateCursorPosition (const QPoint &pos) |
| void | sigUpdateLedState (unsigned int state) |
| void | sigSetClipboard (QMimeData *data) |
信号 继承自 CBackend | |
| void | sigRunning () |
| 当插件开始成功后触发。仅由插件触发 | |
| void | sigStop () |
| 需要通知用户停止时触发。仅由插件触发。 当从插件中需要停止时触发。例如:对端断开连接、重置连接或者连接出错。 | |
| void | sigFinished () |
| 停止成功信号。仅由插件触发 | |
| void | sigError (const int nError, const QString &szError=QString()) |
| 当有错误产生时触发 | |
| void | sigInformation (const QString &szInfo) |
| 从后台线程中触发在主线程中显示信息,不阻塞后台线程 | |
| void | sigShowMessageBox (const QString &szTitle, const QString &szMessage, const QMessageBox::Icon &icon=QMessageBox::Information) |
| 从后台线程中触发在主线程中显示消息对话框(QMessageBox),不阻塞后台线程 | |
| void | sigBlockShowMessageBox (const QString &szTitle, const QString &szMessage, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton &nRet, bool &checkBox, QString checkBoxContext=QString()) |
| 阻塞后台线程,并在前台线程中显示消息对话框(QMessageBox) | |
| void | sigBlockInputDialog (const QString &szTitle, const QString &szLable, const QString &szMessage, QString &szText) |
| 阻塞后台线程,并在前台线程中显示输入对话框 (QInputDialog) | |
| void | sigBlockShowWidget (const QString &className, int &nRet, void *pContext) |
| 阻塞后台线程,并在前台线程中显示窗口。 | |
Public 成员函数 | |
| CBackendPlayer (COperatePlayer *pOperate) | |
Public 成员函数 继承自 CBackendDesktop | |
| CBackendDesktop (COperateDesktop *pOperate=nullptr, bool bDirectConnection=true) | |
| virtual bool | event (QEvent *event) override |
Public 成员函数 继承自 CBackend | |
| CBackend (COperate *pOperate=nullptr) | |
| virtual int | Start () |
| 开始。根据 OnInit() 返回值来决定是否开始定时器来支持非 qt 事件 | |
| virtual int | Stop () |
| 停止 | |
Protected 成员函数 | |
| virtual OnInitReturnValue | OnInit () override |
| 初始化 | |
| virtual int | OnClean () override |
| 清理 | |
Protected 成员函数 继承自 CBackendDesktop | |
| virtual int | WakeUp () override |
| 唤醒后台线程 | |
| virtual void | mousePressEvent (QMouseEvent *event) |
| virtual void | mouseReleaseEvent (QMouseEvent *event) |
| virtual void | mouseMoveEvent (QMouseEvent *event) |
| virtual void | wheelEvent (QWheelEvent *event) |
| virtual void | keyPressEvent (QKeyEvent *event) |
| virtual void | keyReleaseEvent (QKeyEvent *event) |
| virtual void | InputMethodEvent (QInputMethodEvent *event) |
Protected 成员函数 继承自 CBackend | |
| virtual int | OnProcess () |
| 具体操作处理 | |
Private 槽 | |
| void | slotVideoFrameChanged (const QVideoFrame &frame) |
| void | slotEnableAudioInput (bool bEnable) |
| void | slotEnableAudioOutput (bool bEnable) |
| void | slotPositionChanged (qint64 pos) |
| void | slotDurationChanged (qint64 duration) |
Private 属性 | |
| QRect | m_Video |
| QCamera * | m_pCamera |
| QMediaPlayer | m_Player |
| QVideoSink | m_VideoSink |
| bool | m_bScreenShot |
| QAudioOutput | m_AudioOutput |
| QAudioInput | m_AudioInput |
| CParameterPlayer * | m_pParameters |
| qint64 | m_nPosition |
| qint64 | m_nDuration |
| QString | m_szRecordFile |
额外继承的成员函数 | |
Protected 类型 继承自 CBackend | |
| enum class | OnInitReturnValue { Fail = -1 , Success = 0 , UseOnProcess = Success , NotUseOnProcess = 1 } |
Protected 槽 继承自 CBackend | |
| virtual void | slotTimeOut () |
| 一个非 Qt 事件处理,它调用 OnProcess(),并根据其返回值开始新的定时器。 如果是不是一个非 Qt 事件循环(就是普通的循环处理), 可以重载它,或者 OnInit() 返回值大于 0 | |
在文件 BackendPlayer.h 第 21 行定义.
|
virtual |
在文件 BackendPlayer.cpp 第 183 行定义.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
初始化
实现了 CBackend.
在文件 BackendPlayer.cpp 第 188 行定义.
|
overridevirtualslot |
在文件 BackendPlayer.cpp 第 328 行定义.
|
privateslot |
在文件 BackendPlayer.cpp 第 492 行定义.
|
privateslot |
在文件 BackendPlayer.cpp 第 395 行定义.
|
privateslot |
在文件 BackendPlayer.cpp 第 426 行定义.
|
privateslot |
在文件 BackendPlayer.cpp 第 470 行定义.
|
virtualslot |
在文件 BackendPlayer.cpp 第 203 行定义.
|
virtualslot |
在文件 BackendPlayer.cpp 第 251 行定义.
|
privateslot |
在文件 BackendPlayer.cpp 第 332 行定义.
|
private |
在文件 BackendPlayer.h 第 61 行定义.
|
private |
在文件 BackendPlayer.h 第 60 行定义.
|
private |
在文件 BackendPlayer.h 第 58 行定义.
|
private |
在文件 BackendPlayer.h 第 65 行定义.
|
private |
在文件 BackendPlayer.h 第 64 行定义.
|
private |
在文件 BackendPlayer.h 第 55 行定义.
|
private |
在文件 BackendPlayer.h 第 56 行定义.
|
private |
在文件 BackendPlayer.h 第 63 行定义.
|
private |
在文件 BackendPlayer.h 第 67 行定义.
|
private |
在文件 BackendPlayer.h 第 54 行定义.
|
private |
在文件 BackendPlayer.h 第 57 行定义.