玉兔远程控制 0.1.0-alpha.2
|
Public 成员函数 | |
CParameterLibVNCServer (QObject *parent=nullptr) | |
virtual int | OnLoad (QSettings &set) override |
virtual int | OnSave (QSettings &set) override |
bool | GetShared () const |
void | SetShared (bool newShared) |
bool | GetEnableCompressLevel () const |
void | SetEnableCompressLevel (bool newCompressLevel) |
int | GetCompressLevel () const |
void | SetCompressLevel (int newCompressLevel) |
bool | GetJpeg () const |
void | SetJpeg (bool newJpeg) |
int | GetQualityLevel () const |
void | SetQualityLevel (int newQualityLevel) |
![]() | |
CParameterBase (QObject *parent=nullptr) | |
CParameterBase (CParameterOperate *parent, const QString &szPrefix=QString()) | |
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) |
bool | GetEnableLocalInputMethod () const |
void | SetEnableLocalInputMethod (bool enable) |
CFrmViewer::ADAPT_WINDOWS | GetAdaptWindows () |
void | SetAdaptWindows (CFrmViewer::ADAPT_WINDOWS aw) |
double | GetZoomFactor () const |
void | SetZoomFactor (double newZoomFactor) |
![]() | |
CParameterOperate (QObject *parent=nullptr, const QString &szPrefix=QString()) | |
CParameterPlugin * | GetGlobalParameters () |
Get CParameterPlugin | |
int | SetGlobalParameters (CParameterPlugin *p) |
const QString | GetName () const |
void | SetName (const QString &szName) |
![]() | |
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 QSettings | |
virtual int | Save (QSettings &set, bool bForce=true) |
Save to QSettings | |
virtual bool | CheckValidity () |
检查参数是否有效,以决定是否使用或者保存参数。 派生类一般只要重载 OnCheckValidity() ,用于检查参数。 | |
Private 属性 | |
bool | m_bShared |
bool | m_bCompressLevel |
int | m_nCompressLevel |
bool | m_bJpeg |
int | m_bQualityLevel |
额外继承的成员函数 | |
![]() | |
void | sigShowServerNameChanged () |
void | sigEnableInputMethod (bool bEnable) |
void | sigAdaptWindowsChanged (CFrmViewer::ADAPT_WINDOWS aw) |
void | sigZoomFactorChanged (double newZoomFactor) |
![]() | |
void | sigSetGlobalParameters () |
仅由此类使用 | |
void | sigNameChanged (const QString &name=QString()) |
![]() | |
void | sigChanged () |
当参数改变时,触发 通常如果需要,则相应的参数会对应一个改变事件。 | |
![]() | |
CParameterNet | m_Net |
CParameterProxy | m_Proxy |
CParameterRecord | m_Record |
![]() | |
![]() | |
virtual void | slotSetGlobalParameters () override |
设置 CParameterPlugin 后调用,用于初始化与 CParameterPlugin 有关的操作。 | |
![]() | |
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) |
![]() | |
virtual bool | OnCheckValidity () |
检查参数是否有效 | |
int | SetModified (bool bModified=true) |
在设置参数时,如果有修改,则调用。 | |
bool | GetModified () |
参数是否有修改 | |
![]() | |
QString | Name |
QString | ServerName |
bool | ShowServerName |
bool | OnlyView |
bool | LocalCursor |
CFrmViewer::ADAPT_WINDOWS | AdaptWindows |
double | ZoomFactor |
![]() | |
bool | Modified |
在文件 ParameterLibVNCServer.h 第 8 行定义.
|
explicit |
在文件 ParameterLibVNCServer.cpp 第 3 行定义.
int CParameterLibVNCServer::GetCompressLevel | ( | ) | const |
在文件 ParameterLibVNCServer.cpp 第 56 行定义.
bool CParameterLibVNCServer::GetEnableCompressLevel | ( | ) | const |
在文件 ParameterLibVNCServer.cpp 第 66 行定义.
bool CParameterLibVNCServer::GetJpeg | ( | ) | const |
在文件 ParameterLibVNCServer.cpp 第 46 行定义.
int CParameterLibVNCServer::GetQualityLevel | ( | ) | const |
在文件 ParameterLibVNCServer.cpp 第 36 行定义.
bool CParameterLibVNCServer::GetShared | ( | ) | const |
在文件 ParameterLibVNCServer.cpp 第 76 行定义.
|
overridevirtual |
重载 CParameterBase .
在文件 ParameterLibVNCServer.cpp 第 26 行定义.
|
overridevirtual |
重载 CParameterBase .
在文件 ParameterLibVNCServer.cpp 第 31 行定义.
void CParameterLibVNCServer::SetCompressLevel | ( | int | newCompressLevel | ) |
在文件 ParameterLibVNCServer.cpp 第 61 行定义.
void CParameterLibVNCServer::SetEnableCompressLevel | ( | bool | newCompressLevel | ) |
在文件 ParameterLibVNCServer.cpp 第 71 行定义.
void CParameterLibVNCServer::SetJpeg | ( | bool | newJpeg | ) |
在文件 ParameterLibVNCServer.cpp 第 51 行定义.
void CParameterLibVNCServer::SetQualityLevel | ( | int | newQualityLevel | ) |
在文件 ParameterLibVNCServer.cpp 第 41 行定义.
void CParameterLibVNCServer::SetShared | ( | bool | newShared | ) |
在文件 ParameterLibVNCServer.cpp 第 81 行定义.
|
private |
在文件 ParameterLibVNCServer.h 第 31 行定义.
|
private |
在文件 ParameterLibVNCServer.h 第 33 行定义.
|
private |
在文件 ParameterLibVNCServer.h 第 34 行定义.
|
private |
在文件 ParameterLibVNCServer.h 第 30 行定义.
|
private |
在文件 ParameterLibVNCServer.h 第 32 行定义.