47 virtual int OnLoad(QSettings &set)
override;
51 virtual int OnSave(QSettings &set)
override;
54 bool GetHookKeyboard()
const;
55 void SetHookKeyboard(
bool newHookKeyboard);
57 void sigHookKeyboardChanged();
60 Q_PROPERTY(
bool HookKeyboard READ GetHookKeyboard WRITE SetHookKeyboard
61 NOTIFY sigHookKeyboardChanged)
65 bool GetEnableSystemUserToUser()
const;
66 void SetEnableSystemUserToUser(
bool enable);
68 bool m_bEnableSystemUserToUser;
72 const QString &GetEncryptKey()
const;
73 void SetEncryptKey(
const QString &newPassword);
75 void sigEncryptKeyChanged();
77 QString m_szEncryptKey;
78 Q_PROPERTY(QString EncryptKey READ GetEncryptKey WRITE SetEncryptKey NOTIFY sigEncryptKeyChanged)
81 const bool &GetSavePassword()
const;
82 void SetSavePassword(
bool NewAutoSavePassword);
84 void sigSavePasswordChanged(
bool AutoSavePassword);
88 Q_PROPERTY(
bool SavePassword READ GetSavePassword WRITE SetSavePassword NOTIFY sigSavePasswordChanged)
98 PromptType GetPromptType()
const;
99 void SetPromptType(PromptType NewPromptType);
101 void sigPromptTypeChanged(PromptType PromptType);
103 PromptType m_PromptType;
104 Q_PROPERTY(PromptType PromptType READ GetPromptType WRITE SetPromptType NOTIFY sigPromptTypeChanged)
107 int GetPromptCount()
const;
108 void SetPromptCount(
int NewPromptCount);
110 void sigPromptCountChanged(
int PromptCount);
113 Q_PROPERTY(
int PromptCount READ GetPromptCount WRITE SetPromptCount NOTIFY sigPromptCountChanged)
116 bool GetViewPassowrd()
const;
117 void SetViewPassowrd(
bool NewViewPassowrd);
119 void sigViewPassowrdChanged(
bool ViewPassowrd);
121 bool m_bViewPassowrd;
122 Q_PROPERTY(
bool ViewPassowrd READ GetViewPassowrd WRITE SetViewPassowrd NOTIFY sigViewPassowrdChanged)
127 bool GetShowProtocolPrefix()
const;
128 void SetShowProtocolPrefix(
bool bShowProtocolPrefix);
130 void sigShowProtocolPrefixChanged();
132 bool m_bShowProtocolPrefix;
133 Q_PROPERTY(
bool ShowProtocolPrefix READ GetShowProtocolPrefix WRITE SetShowProtocolPrefix NOTIFY sigShowProtocolPrefixChanged)
136 bool GetShowIpPortInName()
const;
137 void SetShowIpPortInName(
bool bShowIpPortInName);
139 void sigSHowIpPortInNameChanged();
141 bool m_bShowIpPortInName;
142 Q_PROPERTY(
bool ShowIpPortInName READ GetShowIpPortInName WRITE SetShowIpPortInName NOTIFY sigSHowIpPortInNameChanged)
148 void sigAdaptWindowsChanged();
151 Q_PROPERTY(
CFrmViewer::ADAPT_WINDOWS AdaptWindows READ GetAdaptWindows WRITE SetAdaptWindows NOTIFY sigAdaptWindowsChanged)