48 Q_PROPERTY(QString Name READ GetName WRITE SetName NOTIFY sigNameChanged)
49 Q_PROPERTY(QString ServerName READ GetServerName WRITE SetServerName)
50 Q_PROPERTY(
bool ShowServerName READ GetShowServerName
51 WRITE SetShowServerName NOTIFY sigShowServerNameChanged)
52 Q_PROPERTY(
bool OnlyView READ GetOnlyView WRITE SetOnlyView)
53 Q_PROPERTY(
bool LocalCursor READ GetLocalCursor WRITE SetLocalCursor)
58 const QString& szPrefix = QString());
60 const QString GetServerName()
const;
61 void SetServerName(
const QString& szName);
63 bool GetShowServerName()
const;
64 void SetShowServerName(
bool NewShowServerName);
70 bool GetOnlyView()
const;
71 void SetOnlyView(
bool only);
73 const bool GetLocalCursor()
const;
74 void SetLocalCursor(
bool cursor);
76 const bool GetCursorPosition()
const;
77 void SetCursorPosition(
bool pos);
79 virtual const bool GetClipboard()
const;
80 virtual void SetClipboard(
bool c);
82 bool GetSupportsDesktopResize()
const;
83 void SetSupportsDesktopResize(
bool newSupportsDesktopResize);
85 bool GetLedState()
const;
86 void SetLedState(
bool state);
88 bool GetEnableLocalInputMethod()
const;
89 void SetEnableLocalInputMethod(
bool enable);
92 void sigShowServerNameChanged();
93 void sigEnableInputMethod(
bool bEnable);
98 QString m_szServerName;
99 bool m_bShowServerName;
102 bool m_bCursorPosition;
104 bool m_bSupportsDesktopResize;
106 bool m_bEnableLocalInputMethod;
116 Q_PROPERTY(
CFrmViewer::ADAPT_WINDOWS AdaptWindows READ GetAdaptWindows WRITE SetAdaptWindows NOTIFY sigAdaptWindowsChanged)
118 double GetZoomFactor()
const;
119 void SetZoomFactor(
double newZoomFactor);
121 void sigZoomFactorChanged(
double newZoomFactor);
123 double m_dbZoomFactor;
124 Q_PROPERTY(
double ZoomFactor READ GetZoomFactor WRITE SetZoomFactor NOTIFY sigZoomFactorChanged)
128 virtual int OnLoad(QSettings &set)
override;
129 virtual int OnSave(QSettings &set)
override;