60 bool bDirectConnection =
true);
75 int SetViewer(
CFrmViewer* pView,
bool bDirectConnection);
78 void sigSetDesktopSize(
int width,
int height);
79 void sigServerName(
const QString& szName);
96 void sigUpdateCursor(
const QCursor& cursor);
97 void sigUpdateCursorPosition(
const QPoint& pos);
98 void sigUpdateLedState(
unsigned int state);
99 void sigSetClipboard(QMimeData* data);
104 virtual void slotMousePressEvent(QMouseEvent* event, QPoint pos);
105 virtual void slotMouseReleaseEvent(QMouseEvent* event, QPoint pos);
106 virtual void slotMouseMoveEvent(QMouseEvent* event, QPoint pos);
107 virtual void slotWheelEvent(QWheelEvent* event, QPoint pos);
108 virtual void slotKeyPressEvent(QKeyEvent *event);
109 virtual void slotKeyReleaseEvent(QKeyEvent *event);
116 virtual int WakeUp();
119 virtual void mousePressEvent(QMouseEvent *event);
120 virtual void mouseReleaseEvent(QMouseEvent *event);
121 virtual void mouseMoveEvent(QMouseEvent *event);
122 virtual void wheelEvent(QWheelEvent *event);
123 virtual void keyPressEvent(QKeyEvent *event);
124 virtual void keyReleaseEvent(QKeyEvent *event);
128 virtual bool event(QEvent *event)
override;
134 virtual void slotRecord(
bool bRecord);
135 virtual void slotRecordPause(
bool bPause);
137 void slotRecordVideo(
const QImage& img);
139 void sigRecordVideo(
bool bRecord);
145 QVideoFrameInput m_VideoFrameInput;
146 QAudioBufferInput m_AudioBufferInput;
147 QAudioBufferOutput m_AudioBufferOutput;
148 QMediaRecorder m_Recorder;
150#if HAVE_QT6_MULTIMEDIA
151 QMediaCaptureSession m_CaptureSession;