Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Public Slots | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
CScreenCapture Class Reference
Inheritance diagram for CScreenCapture:
CConnecter

Public Slots

virtual int Connect () override
 
virtual int DisConnect () override
 
- Public Slots inherited from CConnecter
virtual int Connect ()=0
 Start connect.
 
virtual int DisConnect ()=0
 Close connect.
 

Public Member Functions

 CScreenCapture (CPluginClient *plugin)
 
virtual qint16 Version () override
 Version.
 
virtual QWidget * GetViewer () override
 Get Viewer.
 
virtual int Initial () override
 Initial parameters and resource.
 
virtual int Clean () override
 Clean parameters and resource.
 
- Public Member Functions inherited from CConnecter
 CConnecter (CPluginClient *plugin)
 
virtual const QString Id ()
 Identity.
 
virtual const QString Name ()
 Name.
 
virtual const QString Description ()
 Description.
 
virtual const QString Protocol () const
 Protocol.
 
virtual const QIcon Icon () const
 Icon.
 
virtual int OpenDialogSettings (QWidget *parent=nullptr)
 Open settings dialog.
 
virtual QMenu * GetMenu (QWidget *parent=nullptr)
 Get operate menu.
 

Private Slots

virtual int slotStart ()
 
virtual int slotStop ()
 

Private Member Functions

virtual QDialog * OnOpenDialogSettings (QWidget *parent) override
 Open settgins dialog.
 

Private Attributes

QVideoWidget * m_pWidget
 
CParameterScreenCapture m_Parameter
 
QScreenCapture m_ScreenCapture
 
QWindowCapture m_WindowCapture
 
QMediaCaptureSession m_CaptureSessioin
 
QMediaRecorder m_Recorder
 
QImageCapture m_ImageCapture
 
QString m_szRecordFile
 

Additional Inherited Members

- Signals inherited from CConnecter
void sigConnected ()
 Successful connection signal.
 
void sigDisconnect ()
 Notify the user to disconnect.
 
void sigDisconnected ()
 Successful disconnection signal.
 
void sigUpdateName (const QString &szName)
 
void sigUpdateParameters (CConnecter *pConnecter)
 Update parameters, notify application to save or show parameters.
 
void sigError (const int nError, const QString &szError)
 Triggered when an error is generated.
 
void sigInformation (const QString &szInfo)
 Show information in main windows.
 
void sigShowMessageBox (const QString &title, const QString &message, const QMessageBox::Icon &icon=QMessageBox::Information)
 Trigger the display of a message dialog (QMessageBox) in the main thread from a background thread without blocking the background thread.
 
void sigClipBoardChanged ()
 
- Protected Member Functions inherited from CConnecter
virtual int SetParameter (CParameter *p)
 Set parameters.
 
CParameterGetParameter ()
 
Q_INVOKABLE CPluginClientGetPlugClient () const
 
virtual int Load (QSettings &set)
 Load parameters.
 
virtual int Save (QSettings &set)
 Save parameters.
 
virtual Q_INVOKABLE int Load (QString szFile=QString())
 Load parameters from file.
 
virtual Q_INVOKABLE int Save (QString szFile=QString())
 Save parameters to file.
 
- Static Protected Member Functions inherited from CConnecter
static QObject * createObject (const QString &className, QObject *parent=NULL)
 
- Protected Attributes inherited from CConnecter
QMenu m_Menu
 
QAction * m_pSettings
 

Detailed Description

Definition at line 19 of file ScreenCapture.h.

Constructor & Destructor Documentation

◆ ~CScreenCapture()

CScreenCapture::~CScreenCapture ( )
virtual

Definition at line 19 of file ScreenCapture.cpp.

Member Function Documentation

◆ Clean()

int CScreenCapture::Clean ( )
overridevirtual

Clean parameters and resource.

See also
CClient::DeleteConnecter

Implements CConnecter.

Definition at line 147 of file ScreenCapture.cpp.

◆ Connect

int CScreenCapture::Connect ( )
overridevirtualslot

Definition at line 164 of file ScreenCapture.cpp.

◆ DisConnect

int CScreenCapture::DisConnect ( )
overridevirtualslot

Definition at line 172 of file ScreenCapture.cpp.

◆ GetViewer()

QWidget * CScreenCapture::GetViewer ( )
overridevirtual

Get Viewer.

Returns
QWidget*: the ownership is a instance of this class or its derivative class
See also
sigConnected CFrmViewer::CFrmViewer

Implements CConnecter.

Definition at line 154 of file ScreenCapture.cpp.

◆ Initial()

int CScreenCapture::Initial ( )
overridevirtual

Initial parameters and resource.

See also
CClient::CreateConnecter

Implements CConnecter.

Definition at line 29 of file ScreenCapture.cpp.

◆ OnOpenDialogSettings()

QDialog * CScreenCapture::OnOpenDialogSettings ( QWidget *  parent)
overrideprivatevirtual

Open settgins dialog.

Parameters
parentthe parent windows of the dialog of return
Returns
QDialog*: then QDialog must set attribute Qt::WA_DeleteOnClose; The ownership is caller.
See also
OpenDialogSettings

Implements CConnecter.

Definition at line 159 of file ScreenCapture.cpp.

◆ slotStart

int CScreenCapture::slotStart ( )
privatevirtualslot

Definition at line 180 of file ScreenCapture.cpp.

◆ slotStop

int CScreenCapture::slotStop ( )
privatevirtualslot

Definition at line 226 of file ScreenCapture.cpp.

◆ Version()

qint16 CScreenCapture::Version ( )
overridevirtual

Version.

Implements CConnecter.

Definition at line 24 of file ScreenCapture.cpp.

Member Data Documentation

◆ m_CaptureSessioin

QMediaCaptureSession CScreenCapture::m_CaptureSessioin
private

Definition at line 48 of file ScreenCapture.h.

◆ m_ImageCapture

QImageCapture CScreenCapture::m_ImageCapture
private

Definition at line 50 of file ScreenCapture.h.

◆ m_Parameter

CParameterScreenCapture CScreenCapture::m_Parameter
private

Definition at line 45 of file ScreenCapture.h.

◆ m_pWidget

QVideoWidget* CScreenCapture::m_pWidget
private

Definition at line 44 of file ScreenCapture.h.

◆ m_Recorder

QMediaRecorder CScreenCapture::m_Recorder
private

Definition at line 49 of file ScreenCapture.h.

◆ m_ScreenCapture

QScreenCapture CScreenCapture::m_ScreenCapture
private

Definition at line 46 of file ScreenCapture.h.

◆ m_szRecordFile

QString CScreenCapture::m_szRecordFile
private

Definition at line 51 of file ScreenCapture.h.

◆ m_WindowCapture

QWindowCapture CScreenCapture::m_WindowCapture
private

Definition at line 47 of file ScreenCapture.h.


The documentation for this class was generated from the following files: