47 Q_PROPERTY(QString Name READ GetName WRITE SetName NOTIFY sigNameChanged)
48 Q_PROPERTY(QString ServerName READ GetServerName WRITE SetServerName)
49 Q_PROPERTY(
bool ShowServerName READ GetShowServerName
50 WRITE SetShowServerName NOTIFY sigShowServerNameChanged)
51 Q_PROPERTY(
bool OnlyView READ GetOnlyView WRITE SetOnlyView)
52 Q_PROPERTY(
bool LocalCursor READ GetLocalCursor WRITE SetLocalCursor)
57 const QString& szPrefix = QString());
59 const QString GetServerName()
const;
60 void SetServerName(
const QString& szName);
62 bool GetShowServerName()
const;
63 void SetShowServerName(
bool NewShowServerName);
69 bool GetOnlyView()
const;
70 void SetOnlyView(
bool only);
72 const bool GetLocalCursor()
const;
73 void SetLocalCursor(
bool cursor);
75 const bool GetCursorPosition()
const;
76 void SetCursorPosition(
bool pos);
78 virtual const bool GetClipboard()
const;
79 virtual void SetClipboard(
bool c);
81 bool GetSupportsDesktopResize()
const;
82 void SetSupportsDesktopResize(
bool newSupportsDesktopResize);
84 bool GetLedState()
const;
85 void SetLedState(
bool state);
87 bool GetEnableLocalInputMethod()
const;
88 void SetEnableLocalInputMethod(
bool enable);
91 void sigShowServerNameChanged();
92 void sigEnableInputMethod(
bool bEnable);
97 QString m_szServerName;
98 bool m_bShowServerName;
101 bool m_bCursorPosition;
103 bool m_bSupportsDesktopResize;
105 bool m_bEnableLocalInputMethod;
115 Q_PROPERTY(
CFrmViewer::ADAPT_WINDOWS AdaptWindows READ GetAdaptWindows WRITE SetAdaptWindows NOTIFY sigAdaptWindowsChanged)
117 double GetZoomFactor()
const;
118 void SetZoomFactor(
double newZoomFactor);
120 void sigZoomFactorChanged(
double newZoomFactor);
122 double m_dbZoomFactor;
123 Q_PROPERTY(
double ZoomFactor READ GetZoomFactor WRITE SetZoomFactor NOTIFY sigZoomFactorChanged)
127 virtual int OnLoad(QSettings &set)
override;
128 virtual int OnSave(QSettings &set)
override;