玉兔远程控制 0.1.0-alpha.2
|
Public 槽 | |
virtual void | slotStart () |
virtual void | slotStop () |
virtual void | slotClipBoardChanged () override |
![]() | |
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) |
![]() | |
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) |
![]() | |
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) | |
![]() | |
CBackendDesktop (COperateDesktop *pOperate=nullptr, bool bDirectConnection=true) | |
virtual bool | event (QEvent *event) override |
![]() | |
CBackend (COperate *pOperate=nullptr) | |
virtual int | Start () |
开始。根据 OnInit() 返回值来决定是否开始定时器来支持非 qt 事件 | |
virtual int | Stop () |
停止 | |
Protected 成员函数 | |
virtual OnInitReturnValue | OnInit () override |
初始化 | |
virtual int | OnClean () override |
清理 | |
![]() | |
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) |
![]() | |
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 |
额外继承的成员函数 | |
![]() | |
enum class | OnInitReturnValue { Fail = -1 , Success = 0 , UseOnProcess = Success , NotUseOnProcess = 1 } |
![]() | |
virtual void | slotTimeOut () |
一个非 Qt 事件处理,它调用 OnProcess(),并根据其返回值开始新的定时器。 如果是不是一个非 Qt 事件循环(就是普通的循环处理), 可以重载它,或者 OnInit() 返回值大于 0 | |
在文件 BackendPlayer.h 第 21 行定义.
|
virtual |
在文件 BackendPlayer.cpp 第 149 行定义.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
初始化
实现了 CBackend.
在文件 BackendPlayer.cpp 第 154 行定义.
|
overridevirtualslot |
在文件 BackendPlayer.cpp 第 293 行定义.
|
privateslot |
在文件 BackendPlayer.cpp 第 457 行定义.
|
privateslot |
在文件 BackendPlayer.cpp 第 360 行定义.
|
privateslot |
在文件 BackendPlayer.cpp 第 391 行定义.
|
privateslot |
在文件 BackendPlayer.cpp 第 435 行定义.
|
virtualslot |
在文件 BackendPlayer.cpp 第 169 行定义.
|
virtualslot |
在文件 BackendPlayer.cpp 第 216 行定义.
|
privateslot |
在文件 BackendPlayer.cpp 第 297 行定义.
|
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 行定义.