|
玉兔远程控制 0.1.0-bate8
|
插件的全局参数。 更多...
#include <ParameterPlugin.h>


Public 类型 | |
| enum class | PromptType { No , First } |
| enum class | NameStyle { Protocol = 0x01 , ServerName = 0x02 , SecurityLevel =0x04 } |
信号 | |
| void | sigCaptureAllKeyboard () |
| void | sigPromptAdministratorPrivilege () |
| void | sigEncryptKeyChanged () |
| void | sigSavePasswordChanged (bool AutoSavePassword) |
| void | sigPromptTypeChanged (PromptType PromptType) |
| void | sigPromptCountChanged (int PromptCount) |
| void | sigViewPassowrdChanged (bool ViewPassowrd) |
| void | sigNameStylesChanged () |
| void | sigAdaptWindowsChanged () |
信号 继承自 CParameter | |
| void | sigChanged () |
| 当参数改变时,触发 通常如果需要,则相应的参数会对应一个改变事件。 | |
Public 成员函数 | |
| CParameterPlugin (QObject *parent=nullptr) | |
| CParameterGlobal * | GetGlobalParameters () |
| bool | GetCaptureAllKeyboard () const |
| void | SetCaptureAllKeyboard (bool bCapture) |
| bool | GetDesktopShortcutsScript () const |
| void | SetDesktopShortcutsScript (bool newDesktopShortcutsScript) |
| QString | GetDisableDesktopShortcutsScript () const |
| void | SetDisableDesktopShortcutsScript (const QString &newDisableDesktopShortcutsScript) |
| QString | GetRestoreDesktopShortcutsScript () const |
| void | SetRestoreDesktopShortcutsScript (const QString &newRestoreDesktopShortcutsScript) |
| bool | GetEnableLocalInputMethod () const |
| void | SetEnableLocalInputMethod (bool enable) |
| bool | GetPromptAdministratorPrivilege () |
| void | SetPromptAdministratorPrivilege (bool bShow) |
| bool | GetEnableSystemUserToUser () const |
| void | SetEnableSystemUserToUser (bool enable) |
| const QString & | GetEncryptKey () const |
| void | SetEncryptKey (const QString &newPassword) |
| const bool & | GetSavePassword () const |
| void | SetSavePassword (bool NewAutoSavePassword) |
| PromptType | GetPromptType () const |
| void | SetPromptType (PromptType NewPromptType) |
| int | GetPromptCount () const |
| void | SetPromptCount (int NewPromptCount) |
| bool | GetViewPassowrd () const |
| void | SetViewPassowrd (bool NewViewPassowrd) |
| bool | GetUseSystemCredential () const |
| void | SetUseSystemCredential (bool newUseSystemCredential) |
| Q_FLAG (NameStyles) | |
| NameStyles | GetNameStyles () const |
| void | SetNameStyles (const NameStyles &newNameStyles) |
| CFrmViewer::ADAPT_WINDOWS | GetAdaptWindows () |
| void | SetAdaptWindows (CFrmViewer::ADAPT_WINDOWS aw) |
| bool | GetEnableSetPluginsPath () const |
| void | SetEnableSetPluginsPath (bool newEnableSetPluginsPath) |
| QStringList | GetPluginsPath () const |
| void | SetPluginsPath (const QStringList &newPluginsPath) |
| bool | GetOnlyLoadInWhitelist () const |
| void | SetOnlyLoadInWhitelist (bool newOnlyLoadInWhitelist) |
Public 成员函数 继承自 CParameter | |
| CParameter (QObject *parent, 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() ,用于检查参数。 | |
Public 属性 | |
| CParameterFilter | m_WhiteList |
| CParameterFilter | m_BlackList |
| CParameterRecord | m_Record |
| CParameterMediaDevices | m_MediaDevices |
Protected 成员函数 | |
| virtual int | OnLoad (QSettings &set) override |
| virtual int | OnSave (QSettings &set) override |
Protected 成员函数 继承自 CParameter | |
| virtual bool | OnCheckValidity () |
| 检查参数是否有效 | |
| int | SetModified (bool bModified=true) |
| 在设置参数时,如果有修改,则调用。 | |
| bool | GetModified () |
| 参数是否有修改 | |
属性 | |
| QString | EncryptKey |
| bool | SavePassword |
| PromptType | PromptType |
| int | PromptCount |
| bool | ViewPassowrd |
| CFrmViewer::ADAPT_WINDOWS | AdaptWindows |
属性 继承自 CParameter | |
| bool | Modified |
Private 属性 | |
| CParameterGlobal * | m_pGlobalParameter |
| bool | m_bCaptureAllKeyboard |
| bool | m_bDesktopShortcutsScript |
| QString | m_szDisableDesktopShortcutsScript |
| QString | m_szRestoreDesktopShortcutsScript |
| bool | m_bEnableLocalInputMethod |
| bool | m_bPromptAdministratorPrivilege |
| bool | m_bEnableSystemUserToUser |
| QString | m_szEncryptKey |
| bool | m_bSavePassword |
| PromptType | m_PromptType |
| int | m_nPromptCount |
| bool | m_bViewPassowrd |
| bool | m_bUseSystemCredential |
| NameStyles | m_NameStyles |
| CFrmViewer::ADAPT_WINDOWS | m_AdaptWindows |
| bool | m_bEnableSetPluginsPath |
| QStringList | m_szPluginsPath |
| bool | m_bOnlyLoadInWhitelist |
插件的全局参数。
在文件 ParameterPlugin.h 第 35 行定义.
|
strong |
在文件 ParameterPlugin.h 第 164 行定义.
|
strong |
在文件 ParameterPlugin.h 第 124 行定义.
|
explicit |
在文件 ParameterPlugin.cpp 第 9 行定义.
|
virtual |
在文件 ParameterPlugin.cpp 第 36 行定义.
| CFrmViewer::ADAPT_WINDOWS CParameterPlugin::GetAdaptWindows | ( | ) |
在文件 ParameterPlugin.cpp 第 309 行定义.
| bool CParameterPlugin::GetCaptureAllKeyboard | ( | ) | const |
在文件 ParameterPlugin.cpp 第 119 行定义.
| bool CParameterPlugin::GetDesktopShortcutsScript | ( | ) | const |
在文件 ParameterPlugin.cpp 第 133 行定义.
| QString CParameterPlugin::GetDisableDesktopShortcutsScript | ( | ) | const |
在文件 ParameterPlugin.cpp 第 159 行定义.
| bool CParameterPlugin::GetEnableLocalInputMethod | ( | ) | const |
在文件 ParameterPlugin.cpp 第 172 行定义.
| bool CParameterPlugin::GetEnableSetPluginsPath | ( | ) | const |
在文件 ParameterPlugin.cpp 第 323 行定义.
| bool CParameterPlugin::GetEnableSystemUserToUser | ( | ) | const |
在文件 ParameterPlugin.cpp 第 199 行定义.
| const QString & CParameterPlugin::GetEncryptKey | ( | ) | const |
在文件 ParameterPlugin.cpp 第 212 行定义.
| CParameterGlobal * CParameterPlugin::GetGlobalParameters | ( | ) |
在文件 ParameterPlugin.cpp 第 44 行定义.
| CParameterPlugin::NameStyles CParameterPlugin::GetNameStyles | ( | ) | const |
在文件 ParameterPlugin.cpp 第 295 行定义.
| bool CParameterPlugin::GetOnlyLoadInWhitelist | ( | ) | const |
在文件 ParameterPlugin.cpp 第 346 行定义.
| QStringList CParameterPlugin::GetPluginsPath | ( | ) | const |
在文件 ParameterPlugin.cpp 第 336 行定义.
| bool CParameterPlugin::GetPromptAdministratorPrivilege | ( | ) |
在文件 ParameterPlugin.cpp 第 185 行定义.
| int CParameterPlugin::GetPromptCount | ( | ) | const |
在文件 ParameterPlugin.cpp 第 254 行定义.
| CParameterPlugin::PromptType CParameterPlugin::GetPromptType | ( | ) | const |
在文件 ParameterPlugin.cpp 第 240 行定义.
| QString CParameterPlugin::GetRestoreDesktopShortcutsScript | ( | ) | const |
在文件 ParameterPlugin.cpp 第 146 行定义.
| const bool & CParameterPlugin::GetSavePassword | ( | ) | const |
在文件 ParameterPlugin.cpp 第 226 行定义.
| bool CParameterPlugin::GetUseSystemCredential | ( | ) | const |
在文件 ParameterPlugin.cpp 第 282 行定义.
| bool CParameterPlugin::GetViewPassowrd | ( | ) | const |
在文件 ParameterPlugin.cpp 第 268 行定义.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
| void CParameterPlugin::SetAdaptWindows | ( | CFrmViewer::ADAPT_WINDOWS | aw | ) |
在文件 ParameterPlugin.cpp 第 314 行定义.
| void CParameterPlugin::SetCaptureAllKeyboard | ( | bool | bCapture | ) |
在文件 ParameterPlugin.cpp 第 124 行定义.
| void CParameterPlugin::SetDesktopShortcutsScript | ( | bool | newDesktopShortcutsScript | ) |
在文件 ParameterPlugin.cpp 第 138 行定义.
| void CParameterPlugin::SetDisableDesktopShortcutsScript | ( | const QString & | newDisableDesktopShortcutsScript | ) |
在文件 ParameterPlugin.cpp 第 164 行定义.
| void CParameterPlugin::SetEnableLocalInputMethod | ( | bool | enable | ) |
在文件 ParameterPlugin.cpp 第 177 行定义.
| void CParameterPlugin::SetEnableSetPluginsPath | ( | bool | newEnableSetPluginsPath | ) |
在文件 ParameterPlugin.cpp 第 328 行定义.
| void CParameterPlugin::SetEnableSystemUserToUser | ( | bool | enable | ) |
在文件 ParameterPlugin.cpp 第 204 行定义.
| void CParameterPlugin::SetEncryptKey | ( | const QString & | newPassword | ) |
在文件 ParameterPlugin.cpp 第 217 行定义.
| void CParameterPlugin::SetNameStyles | ( | const NameStyles & | newNameStyles | ) |
在文件 ParameterPlugin.cpp 第 300 行定义.
| void CParameterPlugin::SetOnlyLoadInWhitelist | ( | bool | newOnlyLoadInWhitelist | ) |
在文件 ParameterPlugin.cpp 第 351 行定义.
| void CParameterPlugin::SetPluginsPath | ( | const QStringList & | newPluginsPath | ) |
在文件 ParameterPlugin.cpp 第 341 行定义.
| void CParameterPlugin::SetPromptAdministratorPrivilege | ( | bool | bShow | ) |
在文件 ParameterPlugin.cpp 第 190 行定义.
| void CParameterPlugin::SetPromptCount | ( | int | NewPromptCount | ) |
在文件 ParameterPlugin.cpp 第 259 行定义.
| void CParameterPlugin::SetPromptType | ( | PromptType | NewPromptType | ) |
在文件 ParameterPlugin.cpp 第 245 行定义.
| void CParameterPlugin::SetRestoreDesktopShortcutsScript | ( | const QString & | newRestoreDesktopShortcutsScript | ) |
在文件 ParameterPlugin.cpp 第 151 行定义.
| void CParameterPlugin::SetSavePassword | ( | bool | NewAutoSavePassword | ) |
在文件 ParameterPlugin.cpp 第 231 行定义.
| void CParameterPlugin::SetUseSystemCredential | ( | bool | newUseSystemCredential | ) |
在文件 ParameterPlugin.cpp 第 287 行定义.
| void CParameterPlugin::SetViewPassowrd | ( | bool | NewViewPassowrd | ) |
在文件 ParameterPlugin.cpp 第 273 行定义.
|
private |
在文件 ParameterPlugin.h 第 186 行定义.
|
private |
在文件 ParameterPlugin.h 第 64 行定义.
|
private |
在文件 ParameterPlugin.h 第 70 行定义.
|
private |
在文件 ParameterPlugin.h 第 86 行定义.
|
private |
在文件 ParameterPlugin.h 第 193 行定义.
|
private |
在文件 ParameterPlugin.h 第 101 行定义.
| CParameterFilter CParameterPlugin::m_BlackList |
在文件 ParameterPlugin.h 第 201 行定义.
|
private |
在文件 ParameterPlugin.h 第 204 行定义.
|
private |
在文件 ParameterPlugin.h 第 94 行定义.
|
private |
在文件 ParameterPlugin.h 第 120 行定义.
|
private |
在文件 ParameterPlugin.h 第 160 行定义.
|
private |
在文件 ParameterPlugin.h 第 153 行定义.
| CParameterMediaDevices CParameterPlugin::m_MediaDevices |
在文件 ParameterPlugin.h 第 208 行定义.
|
private |
在文件 ParameterPlugin.h 第 177 行定义.
|
private |
在文件 ParameterPlugin.h 第 144 行定义.
|
private |
在文件 ParameterPlugin.h 第 46 行定义.
|
private |
在文件 ParameterPlugin.h 第 135 行定义.
| CParameterRecord CParameterPlugin::m_Record |
在文件 ParameterPlugin.h 第 207 行定义.
|
private |
在文件 ParameterPlugin.h 第 75 行定义.
|
private |
在文件 ParameterPlugin.h 第 110 行定义.
|
private |
在文件 ParameterPlugin.h 第 203 行定义.
|
private |
在文件 ParameterPlugin.h 第 80 行定义.
| CParameterFilter CParameterPlugin::m_WhiteList |
在文件 ParameterPlugin.h 第 200 行定义.
|
readwrite |
在文件 ParameterPlugin.h 第 187 行定义.
|
readwrite |
在文件 ParameterPlugin.h 第 111 行定义.
|
readwrite |
在文件 ParameterPlugin.h 第 145 行定义.
|
readwrite |
在文件 ParameterPlugin.h 第 136 行定义.
|
readwrite |
在文件 ParameterPlugin.h 第 121 行定义.
|
readwrite |
在文件 ParameterPlugin.h 第 154 行定义.