Rabbit Remote Control 0.0.30
|
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()) | |
CParameterClient * | GetParameterClient () |
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 |
Definition at line 7 of file ParameterVnc.h.
enum CParameterVnc::COLOR_LEVEL |
Definition at line 23 of file ParameterVnc.h.
|
explicit |
Definition at line 4 of file ParameterVnc.cpp.
bool CParameterVnc::GetAutoSelect | ( | ) | const |
Definition at line 179 of file ParameterVnc.cpp.
bool CParameterVnc::GetBufferEndRefresh | ( | ) | const |
Definition at line 166 of file ParameterVnc.cpp.
CParameterVnc::COLOR_LEVEL CParameterVnc::GetColorLevel | ( | ) | const |
Definition at line 192 of file ParameterVnc.cpp.
int CParameterVnc::GetCompressLevel | ( | ) | const |
Definition at line 231 of file ParameterVnc.cpp.
bool CParameterVnc::GetEnableCompressLevel | ( | ) | const |
Definition at line 218 of file ParameterVnc.cpp.
bool CParameterVnc::GetIce | ( | ) | const |
Definition at line 270 of file ParameterVnc.cpp.
bool CParameterVnc::GetNoJpeg | ( | ) | const |
Definition at line 244 of file ParameterVnc.cpp.
const QString & CParameterVnc::GetPeerUser | ( | ) | const |
Definition at line 335 of file ParameterVnc.cpp.
int CParameterVnc::GetPreferredEncoding | ( | ) | const |
Definition at line 205 of file ParameterVnc.cpp.
int CParameterVnc::GetQualityLevel | ( | ) | const |
Definition at line 257 of file ParameterVnc.cpp.
bool CParameterVnc::GetShared | ( | ) | const |
Definition at line 153 of file ParameterVnc.cpp.
const QString & CParameterVnc::GetSignalPassword | ( | ) | const |
Definition at line 322 of file ParameterVnc.cpp.
quint16 CParameterVnc::GetSignalPort | ( | ) | const |
Definition at line 296 of file ParameterVnc.cpp.
const QString & CParameterVnc::GetSignalServer | ( | ) | const |
Definition at line 283 of file ParameterVnc.cpp.
const QString & CParameterVnc::GetSignalUser | ( | ) | const |
Definition at line 309 of file ParameterVnc.cpp.
quint16 CParameterVnc::GetStunPort | ( | ) | const |
Definition at line 361 of file ParameterVnc.cpp.
const QString & CParameterVnc::GetStunServer | ( | ) | const |
Definition at line 348 of file ParameterVnc.cpp.
const QString & CParameterVnc::GetTurnPassword | ( | ) | const |
Definition at line 413 of file ParameterVnc.cpp.
quint16 CParameterVnc::GetTurnPort | ( | ) | const |
Definition at line 387 of file ParameterVnc.cpp.
const QString & CParameterVnc::GetTurnServer | ( | ) | const |
Definition at line 374 of file ParameterVnc.cpp.
const QString & CParameterVnc::GetTurnUser | ( | ) | const |
Definition at line 400 of file ParameterVnc.cpp.
|
overridevirtual |
Check whether the parameters are complete to decide whether to open the parameter dialog.
Reimplemented from CParameter.
Definition at line 135 of file ParameterVnc.cpp.
|
overrideprotectedvirtual |
Reimplemented from CParameterBase.
Definition at line 45 of file ParameterVnc.cpp.
|
overrideprotectedvirtual |
Reimplemented from CParameterBase.
Definition at line 99 of file ParameterVnc.cpp.
void CParameterVnc::SetAutoSelect | ( | bool | newAutoSelect | ) |
Definition at line 184 of file ParameterVnc.cpp.
void CParameterVnc::SetBufferEndRefresh | ( | bool | newBufferEndRefresh | ) |
Definition at line 171 of file ParameterVnc.cpp.
void CParameterVnc::SetColorLevel | ( | COLOR_LEVEL | newColorLevel | ) |
Definition at line 197 of file ParameterVnc.cpp.
void CParameterVnc::SetCompressLevel | ( | int | newCompressLevel | ) |
Definition at line 236 of file ParameterVnc.cpp.
void CParameterVnc::SetEnableCompressLevel | ( | bool | newCompressLevel | ) |
Definition at line 223 of file ParameterVnc.cpp.
void CParameterVnc::SetIce | ( | bool | newIce | ) |
Definition at line 275 of file ParameterVnc.cpp.
void CParameterVnc::SetNoJpeg | ( | bool | newNoJpeg | ) |
Definition at line 249 of file ParameterVnc.cpp.
void CParameterVnc::SetPeerUser | ( | const QString & | newPeerUser | ) |
Definition at line 340 of file ParameterVnc.cpp.
void CParameterVnc::SetPreferredEncoding | ( | int | newEncoding | ) |
Definition at line 210 of file ParameterVnc.cpp.
void CParameterVnc::SetQualityLevel | ( | int | newQualityLevel | ) |
Definition at line 262 of file ParameterVnc.cpp.
void CParameterVnc::SetShared | ( | bool | newShared | ) |
Definition at line 158 of file ParameterVnc.cpp.
void CParameterVnc::SetSignalPassword | ( | const QString & | newSignalPassword | ) |
Definition at line 327 of file ParameterVnc.cpp.
void CParameterVnc::SetSignalPort | ( | quint16 | newSignalPort | ) |
Definition at line 301 of file ParameterVnc.cpp.
void CParameterVnc::SetSignalServer | ( | const QString & | newSignalServer | ) |
Definition at line 288 of file ParameterVnc.cpp.
void CParameterVnc::SetSignalUser | ( | const QString & | newSignalUser | ) |
Definition at line 314 of file ParameterVnc.cpp.
void CParameterVnc::SetStunPort | ( | quint16 | newStunPort | ) |
Definition at line 366 of file ParameterVnc.cpp.
void CParameterVnc::SetStunServer | ( | const QString & | newStunServer | ) |
Definition at line 353 of file ParameterVnc.cpp.
void CParameterVnc::SetTurnPassword | ( | const QString & | newTurnPassword | ) |
Definition at line 418 of file ParameterVnc.cpp.
void CParameterVnc::SetTurnPort | ( | quint16 | newTurnPort | ) |
Definition at line 392 of file ParameterVnc.cpp.
void CParameterVnc::SetTurnServer | ( | const QString & | newTurnServer | ) |
Definition at line 379 of file ParameterVnc.cpp.
void CParameterVnc::SetTurnUser | ( | const QString & | newTurnUser | ) |
Definition at line 405 of file ParameterVnc.cpp.
|
private |
Definition at line 103 of file ParameterVnc.h.
|
private |
Definition at line 101 of file ParameterVnc.h.
|
private |
Definition at line 106 of file ParameterVnc.h.
|
private |
Definition at line 111 of file ParameterVnc.h.
|
private |
Definition at line 108 of file ParameterVnc.h.
|
private |
Definition at line 100 of file ParameterVnc.h.
|
private |
Definition at line 104 of file ParameterVnc.h.
|
private |
Definition at line 107 of file ParameterVnc.h.
|
private |
Definition at line 105 of file ParameterVnc.h.
|
private |
Definition at line 109 of file ParameterVnc.h.
|
private |
Definition at line 113 of file ParameterVnc.h.
|
private |
Definition at line 116 of file ParameterVnc.h.
|
private |
Definition at line 118 of file ParameterVnc.h.
|
private |
Definition at line 114 of file ParameterVnc.h.
|
private |
Definition at line 114 of file ParameterVnc.h.
|
private |
Definition at line 112 of file ParameterVnc.h.
|
private |
Definition at line 114 of file ParameterVnc.h.
|
private |
Definition at line 115 of file ParameterVnc.h.
|
private |
Definition at line 119 of file ParameterVnc.h.
|
private |
Definition at line 117 of file ParameterVnc.h.
|
private |
Definition at line 119 of file ParameterVnc.h.
|
private |
Definition at line 98 of file ParameterVnc.h.