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 GetName()
const;
61 void SetName(
const QString& szName);
63 const QString GetServerName()
const;
64 void SetServerName(
const QString& szName);
66 bool GetShowServerName()
const;
67 void SetShowServerName(
bool NewShowServerName);
73 bool GetOnlyView()
const;
74 void SetOnlyView(
bool only);
76 const bool GetLocalCursor()
const;
77 void SetLocalCursor(
bool cursor);
79 const bool GetCursorPosition()
const;
80 void SetCursorPosition(
bool pos);
82 virtual const bool GetClipboard()
const;
83 virtual void SetClipboard(
bool c);
85 bool GetSupportsDesktopResize()
const;
86 void SetSupportsDesktopResize(
bool newSupportsDesktopResize);
88 bool GetLedState()
const;
89 void SetLedState(
bool state);
91 bool GetEnableLocalInputMethod()
const;
92 void SetEnableLocalInputMethod(
bool enable);
95 void sigNameChanged(
const QString &name = QString());
96 void sigShowServerNameChanged();
97 void sigEnableInputMethod(
bool bEnable);
104 QString m_szServerName;
105 bool m_bShowServerName;
108 bool m_bCursorPosition;
110 bool m_bSupportsDesktopResize;
112 bool m_bEnableLocalInputMethod;
122 Q_PROPERTY(
CFrmViewer::ADAPT_WINDOWS AdaptWindows READ GetAdaptWindows WRITE SetAdaptWindows NOTIFY sigAdaptWindowsChanged)
124 double GetZoomFactor()
const;
125 void SetZoomFactor(
double newZoomFactor);
127 void sigZoomFactorChanged(
double newZoomFactor);
129 double m_dbZoomFactor;
130 Q_PROPERTY(
double ZoomFactor READ GetZoomFactor WRITE SetZoomFactor NOTIFY sigZoomFactorChanged)
134 virtual int OnLoad(QSettings &set)
override;
135 virtual int OnSave(QSettings &set)
override;