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 GetName()
const;
60 void SetName(
const QString& szName);
62 const QString GetServerName()
const;
63 void SetServerName(
const QString& szName);
65 bool GetShowServerName()
const;
66 void SetShowServerName(
bool NewShowServerName);
72 bool GetOnlyView()
const;
73 void SetOnlyView(
bool only);
75 const bool GetLocalCursor()
const;
76 void SetLocalCursor(
bool cursor);
78 const bool GetCursorPosition()
const;
79 void SetCursorPosition(
bool pos);
81 virtual const bool GetClipboard()
const;
82 virtual void SetClipboard(
bool c);
84 bool GetSupportsDesktopResize()
const;
85 void SetSupportsDesktopResize(
bool newSupportsDesktopResize);
87 bool GetLedState()
const;
88 void SetLedState(
bool state);
91 void sigNameChanged(
const QString &name = QString());
92 void sigShowServerNameChanged();
99 QString m_szServerName;
100 bool m_bShowServerName;
103 bool m_bCursorPosition;
105 bool m_bSupportsDesktopResize;
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;