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

Public Types

enum  COLOR_LEVEL { Full , Medium , Low , VeryLow }
 

Public Member Functions

 CParameterVnc (QObject *parent=nullptr)
 
virtual bool OnCheckValidity () override
 Check whether the parameters are complete to decide whether to open the parameter dialog.
 
bool GetShared () const
 
void SetShared (bool newShared)
 
bool GetBufferEndRefresh () const
 
void SetBufferEndRefresh (bool newBufferEndRefresh)
 
bool GetAutoSelect () const
 
void SetAutoSelect (bool newAutoSelect)
 
COLOR_LEVEL GetColorLevel () const
 
void SetColorLevel (COLOR_LEVEL newColorLevel)
 
int GetPreferredEncoding () const
 
void SetPreferredEncoding (int newEncoding)
 
bool GetEnableCompressLevel () const
 
void SetEnableCompressLevel (bool newCompressLevel)
 
int GetCompressLevel () const
 
void SetCompressLevel (int newCompressLevel)
 
bool GetNoJpeg () const
 
void SetNoJpeg (bool newNoJpeg)
 
int GetQualityLevel () const
 
void SetQualityLevel (int newQualityLevel)
 
bool GetIce () const
 
void SetIce (bool newIce)
 
const QString & GetSignalServer () const
 
void SetSignalServer (const QString &newSignalServer)
 
quint16 GetSignalPort () const
 
void SetSignalPort (quint16 newSignalPort)
 
const QString & GetSignalUser () const
 
void SetSignalUser (const QString &newSignalUser)
 
const QString & GetSignalPassword () const
 
void SetSignalPassword (const QString &newSignalPassword)
 
const QString & GetPeerUser () const
 
void SetPeerUser (const QString &newPeerUser)
 
const QString & GetStunServer () const
 
void SetStunServer (const QString &newStunServer)
 
quint16 GetStunPort () const
 
void SetStunPort (quint16 newStunPort)
 
const QString & GetTurnServer () const
 
void SetTurnServer (const QString &newTurnServer)
 
quint16 GetTurnPort () const
 
void SetTurnPort (quint16 newTurnPort)
 
const QString & GetTurnUser () const
 
void SetTurnUser (const QString &newTurnUser)
 
const QString & GetTurnPassword () const
 
void SetTurnPassword (const QString &newTurnPassword)
 
- 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
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

QString szServerName
 
bool m_bShared
 
bool m_bBufferEndRefresh
 
bool m_bAutoSelect
 
COLOR_LEVEL m_nColorLevel
 
int m_nPreferredEncoding
 
bool m_bCompressLevel
 
int m_nCompressLevel
 
bool m_bNoJpeg
 
int m_nQualityLevel
 
bool m_bIce
 
QString m_szSignalServer
 
quint16 m_nSignalPort
 
QString m_szSignalUser
 
QString m_szSignalPassword
 
QString m_szPeerUser
 
QString m_szStunServer
 
quint16 m_nStunPort
 
QString m_szTurnServer
 
quint16 m_nTurnPort
 
QString m_szTurnUser
 
QString m_szTurnPassword
 

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 7 of file ParameterVnc.h.

Member Enumeration Documentation

◆ COLOR_LEVEL

enum CParameterVnc::COLOR_LEVEL

Definition at line 23 of file ParameterVnc.h.

Constructor & Destructor Documentation

◆ CParameterVnc()

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

Definition at line 4 of file ParameterVnc.cpp.

Member Function Documentation

◆ GetAutoSelect()

bool CParameterVnc::GetAutoSelect ( ) const

Definition at line 179 of file ParameterVnc.cpp.

◆ GetBufferEndRefresh()

bool CParameterVnc::GetBufferEndRefresh ( ) const

Definition at line 166 of file ParameterVnc.cpp.

◆ GetColorLevel()

CParameterVnc::COLOR_LEVEL CParameterVnc::GetColorLevel ( ) const

Definition at line 192 of file ParameterVnc.cpp.

◆ GetCompressLevel()

int CParameterVnc::GetCompressLevel ( ) const

Definition at line 231 of file ParameterVnc.cpp.

◆ GetEnableCompressLevel()

bool CParameterVnc::GetEnableCompressLevel ( ) const

Definition at line 218 of file ParameterVnc.cpp.

◆ GetIce()

bool CParameterVnc::GetIce ( ) const

Definition at line 270 of file ParameterVnc.cpp.

◆ GetNoJpeg()

bool CParameterVnc::GetNoJpeg ( ) const

Definition at line 244 of file ParameterVnc.cpp.

◆ GetPeerUser()

const QString & CParameterVnc::GetPeerUser ( ) const

Definition at line 335 of file ParameterVnc.cpp.

◆ GetPreferredEncoding()

int CParameterVnc::GetPreferredEncoding ( ) const

Definition at line 205 of file ParameterVnc.cpp.

◆ GetQualityLevel()

int CParameterVnc::GetQualityLevel ( ) const

Definition at line 257 of file ParameterVnc.cpp.

◆ GetShared()

bool CParameterVnc::GetShared ( ) const

Definition at line 153 of file ParameterVnc.cpp.

◆ GetSignalPassword()

const QString & CParameterVnc::GetSignalPassword ( ) const

Definition at line 322 of file ParameterVnc.cpp.

◆ GetSignalPort()

quint16 CParameterVnc::GetSignalPort ( ) const

Definition at line 296 of file ParameterVnc.cpp.

◆ GetSignalServer()

const QString & CParameterVnc::GetSignalServer ( ) const

Definition at line 283 of file ParameterVnc.cpp.

◆ GetSignalUser()

const QString & CParameterVnc::GetSignalUser ( ) const

Definition at line 309 of file ParameterVnc.cpp.

◆ GetStunPort()

quint16 CParameterVnc::GetStunPort ( ) const

Definition at line 361 of file ParameterVnc.cpp.

◆ GetStunServer()

const QString & CParameterVnc::GetStunServer ( ) const

Definition at line 348 of file ParameterVnc.cpp.

◆ GetTurnPassword()

const QString & CParameterVnc::GetTurnPassword ( ) const

Definition at line 413 of file ParameterVnc.cpp.

◆ GetTurnPort()

quint16 CParameterVnc::GetTurnPort ( ) const

Definition at line 387 of file ParameterVnc.cpp.

◆ GetTurnServer()

const QString & CParameterVnc::GetTurnServer ( ) const

Definition at line 374 of file ParameterVnc.cpp.

◆ GetTurnUser()

const QString & CParameterVnc::GetTurnUser ( ) const

Definition at line 400 of file ParameterVnc.cpp.

◆ OnCheckValidity()

bool CParameterVnc::OnCheckValidity ( )
overridevirtual

Check whether the parameters are complete to decide whether to open the parameter dialog.

Returns

Reimplemented from CParameter.

Definition at line 135 of file ParameterVnc.cpp.

◆ OnLoad()

int CParameterVnc::OnLoad ( QSettings &  set)
overrideprotectedvirtual

Reimplemented from CParameterBase.

Definition at line 45 of file ParameterVnc.cpp.

◆ OnSave()

int CParameterVnc::OnSave ( QSettings &  set)
overrideprotectedvirtual

Reimplemented from CParameterBase.

Definition at line 99 of file ParameterVnc.cpp.

◆ SetAutoSelect()

void CParameterVnc::SetAutoSelect ( bool  newAutoSelect)

Definition at line 184 of file ParameterVnc.cpp.

◆ SetBufferEndRefresh()

void CParameterVnc::SetBufferEndRefresh ( bool  newBufferEndRefresh)

Definition at line 171 of file ParameterVnc.cpp.

◆ SetColorLevel()

void CParameterVnc::SetColorLevel ( COLOR_LEVEL  newColorLevel)

Definition at line 197 of file ParameterVnc.cpp.

◆ SetCompressLevel()

void CParameterVnc::SetCompressLevel ( int  newCompressLevel)

Definition at line 236 of file ParameterVnc.cpp.

◆ SetEnableCompressLevel()

void CParameterVnc::SetEnableCompressLevel ( bool  newCompressLevel)

Definition at line 223 of file ParameterVnc.cpp.

◆ SetIce()

void CParameterVnc::SetIce ( bool  newIce)

Definition at line 275 of file ParameterVnc.cpp.

◆ SetNoJpeg()

void CParameterVnc::SetNoJpeg ( bool  newNoJpeg)

Definition at line 249 of file ParameterVnc.cpp.

◆ SetPeerUser()

void CParameterVnc::SetPeerUser ( const QString &  newPeerUser)

Definition at line 340 of file ParameterVnc.cpp.

◆ SetPreferredEncoding()

void CParameterVnc::SetPreferredEncoding ( int  newEncoding)

Definition at line 210 of file ParameterVnc.cpp.

◆ SetQualityLevel()

void CParameterVnc::SetQualityLevel ( int  newQualityLevel)

Definition at line 262 of file ParameterVnc.cpp.

◆ SetShared()

void CParameterVnc::SetShared ( bool  newShared)

Definition at line 158 of file ParameterVnc.cpp.

◆ SetSignalPassword()

void CParameterVnc::SetSignalPassword ( const QString &  newSignalPassword)

Definition at line 327 of file ParameterVnc.cpp.

◆ SetSignalPort()

void CParameterVnc::SetSignalPort ( quint16  newSignalPort)

Definition at line 301 of file ParameterVnc.cpp.

◆ SetSignalServer()

void CParameterVnc::SetSignalServer ( const QString &  newSignalServer)

Definition at line 288 of file ParameterVnc.cpp.

◆ SetSignalUser()

void CParameterVnc::SetSignalUser ( const QString &  newSignalUser)

Definition at line 314 of file ParameterVnc.cpp.

◆ SetStunPort()

void CParameterVnc::SetStunPort ( quint16  newStunPort)

Definition at line 366 of file ParameterVnc.cpp.

◆ SetStunServer()

void CParameterVnc::SetStunServer ( const QString &  newStunServer)

Definition at line 353 of file ParameterVnc.cpp.

◆ SetTurnPassword()

void CParameterVnc::SetTurnPassword ( const QString &  newTurnPassword)

Definition at line 418 of file ParameterVnc.cpp.

◆ SetTurnPort()

void CParameterVnc::SetTurnPort ( quint16  newTurnPort)

Definition at line 392 of file ParameterVnc.cpp.

◆ SetTurnServer()

void CParameterVnc::SetTurnServer ( const QString &  newTurnServer)

Definition at line 379 of file ParameterVnc.cpp.

◆ SetTurnUser()

void CParameterVnc::SetTurnUser ( const QString &  newTurnUser)

Definition at line 405 of file ParameterVnc.cpp.

Member Data Documentation

◆ m_bAutoSelect

bool CParameterVnc::m_bAutoSelect
private

Definition at line 103 of file ParameterVnc.h.

◆ m_bBufferEndRefresh

bool CParameterVnc::m_bBufferEndRefresh
private

Definition at line 101 of file ParameterVnc.h.

◆ m_bCompressLevel

bool CParameterVnc::m_bCompressLevel
private

Definition at line 106 of file ParameterVnc.h.

◆ m_bIce

bool CParameterVnc::m_bIce
private

Definition at line 111 of file ParameterVnc.h.

◆ m_bNoJpeg

bool CParameterVnc::m_bNoJpeg
private

Definition at line 108 of file ParameterVnc.h.

◆ m_bShared

bool CParameterVnc::m_bShared
private

Definition at line 100 of file ParameterVnc.h.

◆ m_nColorLevel

COLOR_LEVEL CParameterVnc::m_nColorLevel
private

Definition at line 104 of file ParameterVnc.h.

◆ m_nCompressLevel

int CParameterVnc::m_nCompressLevel
private

Definition at line 107 of file ParameterVnc.h.

◆ m_nPreferredEncoding

int CParameterVnc::m_nPreferredEncoding
private

Definition at line 105 of file ParameterVnc.h.

◆ m_nQualityLevel

int CParameterVnc::m_nQualityLevel
private

Definition at line 109 of file ParameterVnc.h.

◆ m_nSignalPort

quint16 CParameterVnc::m_nSignalPort
private

Definition at line 113 of file ParameterVnc.h.

◆ m_nStunPort

quint16 CParameterVnc::m_nStunPort
private

Definition at line 116 of file ParameterVnc.h.

◆ m_nTurnPort

quint16 CParameterVnc::m_nTurnPort
private

Definition at line 118 of file ParameterVnc.h.

◆ m_szPeerUser

QString CParameterVnc::m_szPeerUser
private

Definition at line 114 of file ParameterVnc.h.

◆ m_szSignalPassword

QString CParameterVnc::m_szSignalPassword
private

Definition at line 114 of file ParameterVnc.h.

◆ m_szSignalServer

QString CParameterVnc::m_szSignalServer
private

Definition at line 112 of file ParameterVnc.h.

◆ m_szSignalUser

QString CParameterVnc::m_szSignalUser
private

Definition at line 114 of file ParameterVnc.h.

◆ m_szStunServer

QString CParameterVnc::m_szStunServer
private

Definition at line 115 of file ParameterVnc.h.

◆ m_szTurnPassword

QString CParameterVnc::m_szTurnPassword
private

Definition at line 119 of file ParameterVnc.h.

◆ m_szTurnServer

QString CParameterVnc::m_szTurnServer
private

Definition at line 117 of file ParameterVnc.h.

◆ m_szTurnUser

QString CParameterVnc::m_szTurnUser
private

Definition at line 119 of file ParameterVnc.h.

◆ szServerName

QString CParameterVnc::szServerName
private

Definition at line 98 of file ParameterVnc.h.


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