Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
CParameterScreenCapture Class Reference
Inheritance diagram for CParameterScreenCapture:
CParameterBase CParameterConnecter CParameter

Public Types

enum class  TARGET { Screen , Window , CustomRectangle , Curstomize }
 
enum class  OPERATE { Shot , Record }
 

Public Member Functions

 CParameterScreenCapture (QObject *parent=nullptr)
 
const TARGET GetTarget () const
 
int SetTarget (TARGET tg)
 
const OPERATE GetOperate () const
 
int SetOperate (OPERATE opt)
 
const int GetScreen () const
 
int SetScreen (int screen)
 
const QCapturableWindow GetWindow () const
 
int SetWindow (QCapturableWindow w)
 
- Public Member Functions inherited from CParameterBase
 CParameterBase (QObject *parent=nullptr)
 
 CParameterBase (CParameterConnecter *parent, const QString &szPrefix=QString())
 
const QString GetName () const
 
void SetName (const QString &szName)
 
const QString GetServerName () const
 
void SetServerName (const QString &szName)
 
bool GetShowServerName () const
 
void SetShowServerName (bool NewShowServerName)
 
bool GetOnlyView () const
 
void SetOnlyView (bool only)
 
const bool GetLocalCursor () const
 
void SetLocalCursor (bool cursor)
 
const bool GetCursorPosition () const
 
void SetCursorPosition (bool pos)
 
virtual const bool GetClipboard () const
 
virtual void SetClipboard (bool c)
 
bool GetSupportsDesktopResize () const
 
void SetSupportsDesktopResize (bool newSupportsDesktopResize)
 
bool GetLedState () const
 
void SetLedState (bool state)
 
CFrmViewer::ADAPT_WINDOWS GetAdaptWindows ()
 
void SetAdaptWindows (CFrmViewer::ADAPT_WINDOWS aw)
 
double GetZoomFactor () const
 
void SetZoomFactor (double newZoomFactor)
 
- Public Member Functions inherited from CParameterConnecter
 CParameterConnecter (QObject *parent=nullptr, const QString &szPrefix=QString())
 
CParameterClientGetParameterClient ()
 Get CParameterClient.
 
int SetParameterClient (CParameterClient *p)
 
- Public Member Functions inherited from CParameter
 CParameter (QObject *parent=nullptr, const QString &szPrefix=QString())
 
virtual int Load (QString szFile=QString())
 Load from file.
 
virtual int Save (QString szFile=QString(), bool bForce=true)
 Save to file.
 
virtual int Load (QSettings &set)
 Load from storage.
 
virtual int Save (QSettings &set, bool bForce=true)
 Save to storage.
 
virtual bool CheckValidity ()
 Check whether the parameter is valid to decide whether to use or save the parameter.
 

Protected Member Functions

virtual int OnLoad (QSettings &set) override
 
virtual int OnSave (QSettings &set) override
 
- Protected Member Functions inherited from CParameterBase
virtual void slotSetParameterClient () override
 Call after set CParameterClient.
 
- Protected Member Functions inherited from CParameterConnecter
QByteArray PasswordSum (const std::string &password, const std::string &key)
 
int LoadPassword (const QString &szTitle, const QString &szKey, QString &password, QSettings &set)
 
int SavePassword (const QString &szKey, const QString &password, QSettings &set, bool bSave=false)
 
- Protected Member Functions inherited from CParameter
virtual bool OnCheckValidity ()
 Check validity.
 
int SetModified (bool bModified=true)
 When setting parameters, if there is a modification, it is called.
 
bool GetModified ()
 Whether the parameters have been modified.
 

Private Attributes

TARGET m_Target
 
OPERATE m_Operate
 
int m_nScreen
 
QCapturableWindow m_WindowCapture
 

Additional Inherited Members

- Signals inherited from CParameterBase
void sigNameChanged (const QString &name=QString())
 
void sigShowServerNameChanged ()
 
void sigAdaptWindowsChanged (CFrmViewer::ADAPT_WINDOWS aw)
 
void sigZoomFactorChanged (double newZoomFactor)
 
- Signals inherited from CParameterConnecter
void sigSetParameterClient ()
 
- Signals inherited from CParameter
void sigChanged ()
 emit when the parameter changes Usually if required, the corresponding parameter corresponds to a change event.
 
- Public Attributes inherited from CParameterBase
CParameterNet m_Net
 
CParameterProxy m_Proxy
 
CParameterRecord m_Record
 
- Protected Slots inherited from CParameterConnecter
- Properties inherited from CParameterBase
QString Name
 
QString ServerName
 
bool ShowServerName
 
bool OnlyView
 
bool LocalCursor
 
CFrmViewer::ADAPT_WINDOWS AdaptWindows
 
double ZoomFactor
 
- Properties inherited from CParameter
bool Modified
 

Detailed Description

Definition at line 10 of file ParameterScreenCapture.h.

Member Enumeration Documentation

◆ OPERATE

enum class CParameterScreenCapture::OPERATE
strong

Definition at line 27 of file ParameterScreenCapture.h.

◆ TARGET

enum class CParameterScreenCapture::TARGET
strong

Definition at line 17 of file ParameterScreenCapture.h.

Constructor & Destructor Documentation

◆ CParameterScreenCapture()

CParameterScreenCapture::CParameterScreenCapture ( QObject *  parent = nullptr)
explicit

Definition at line 3 of file ParameterScreenCapture.cpp.

◆ ~CParameterScreenCapture()

CParameterScreenCapture::~CParameterScreenCapture ( )
virtual

Definition at line 10 of file ParameterScreenCapture.cpp.

Member Function Documentation

◆ GetOperate()

const CParameterScreenCapture::OPERATE CParameterScreenCapture::GetOperate ( ) const

Definition at line 37 of file ParameterScreenCapture.cpp.

◆ GetScreen()

const int CParameterScreenCapture::GetScreen ( ) const

Definition at line 51 of file ParameterScreenCapture.cpp.

◆ GetTarget()

const CParameterScreenCapture::TARGET CParameterScreenCapture::GetTarget ( ) const

Definition at line 23 of file ParameterScreenCapture.cpp.

◆ GetWindow()

const QCapturableWindow CParameterScreenCapture::GetWindow ( ) const

Definition at line 65 of file ParameterScreenCapture.cpp.

◆ OnLoad()

int CParameterScreenCapture::OnLoad ( QSettings &  set)
overrideprotectedvirtual

Reimplemented from CParameterBase.

Definition at line 13 of file ParameterScreenCapture.cpp.

◆ OnSave()

int CParameterScreenCapture::OnSave ( QSettings &  set)
overrideprotectedvirtual

Reimplemented from CParameterBase.

Definition at line 18 of file ParameterScreenCapture.cpp.

◆ SetOperate()

int CParameterScreenCapture::SetOperate ( OPERATE  opt)

Definition at line 42 of file ParameterScreenCapture.cpp.

◆ SetScreen()

int CParameterScreenCapture::SetScreen ( int  screen)

Definition at line 56 of file ParameterScreenCapture.cpp.

◆ SetTarget()

int CParameterScreenCapture::SetTarget ( TARGET  tg)

Definition at line 28 of file ParameterScreenCapture.cpp.

◆ SetWindow()

int CParameterScreenCapture::SetWindow ( QCapturableWindow  w)

Definition at line 70 of file ParameterScreenCapture.cpp.

Member Data Documentation

◆ m_nScreen

int CParameterScreenCapture::m_nScreen
private

Definition at line 44 of file ParameterScreenCapture.h.

◆ m_Operate

OPERATE CParameterScreenCapture::m_Operate
private

Definition at line 43 of file ParameterScreenCapture.h.

◆ m_Target

TARGET CParameterScreenCapture::m_Target
private

Definition at line 42 of file ParameterScreenCapture.h.

◆ m_WindowCapture

QCapturableWindow CParameterScreenCapture::m_WindowCapture
private

Definition at line 45 of file ParameterScreenCapture.h.


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