The interface of connecter parameters.
More...
#include <ParameterBase.h>
|
void | sigNameChanged (const QString &name=QString()) |
|
void | sigShowServerNameChanged () |
|
void | sigAdaptWindowsChanged (CFrmViewer::ADAPT_WINDOWS aw) |
|
void | sigZoomFactorChanged (double newZoomFactor) |
|
void | sigSetParameterClient () |
|
void | sigChanged () |
| emit when the parameter changes Usually if required, the corresponding parameter corresponds to a change event.
|
|
|
virtual int | OnLoad (QSettings &set) override |
|
virtual int | OnSave (QSettings &set) override |
|
virtual void | slotSetParameterClient () override |
| Call after set CParameterClient.
|
|
QByteArray | PasswordSum (const std::string &password, const std::string &key) |
|
int | LoadPassword (const QString &szTitle, const QString &szKey, QString &password, QSettings &set) |
|
int | SavePassword (const QString &szKey, const QString &password, QSettings &set, bool bSave=false) |
|
virtual bool | OnCheckValidity () |
| Check validity.
|
|
int | SetModified (bool bModified=true) |
| When setting parameters, if there is a modification, it is called.
|
|
bool | GetModified () |
| Whether the parameters have been modified.
|
|
The interface of connecter parameters.
include base parameters(network etc). All plug-in connection parameters should be derived from this class.
Use connecter parameter
- The plugins have some common parameters (e.g., network address, etc.), please derive the plugin parameters from CParameterBase.
The interface of connecter parameters.
[Declare CParameterFreeRDP]
- Instantiate the connection parameters in the constructor of the derived class of CConnecter.
- Call CConnecter::SetParameter to set
{
qDebug(log) << Q_FUNC_INFO;
}
It starts a background thread by default.
- Because CConnecter is running main thread(UI thread), so that the parameter is running main thread.
Definition at line 44 of file ParameterBase.h.
◆ CParameterBase()
CParameterBase::CParameterBase |
( |
CParameterConnecter * |
parent, |
|
|
const QString & |
szPrefix = QString() |
|
) |
| |
|
explicit |
◆ GetAdaptWindows()
◆ GetClipboard()
const bool CParameterBase::GetClipboard |
( |
| ) |
const |
|
virtual |
◆ GetCursorPosition()
const bool CParameterBase::GetCursorPosition |
( |
| ) |
const |
◆ GetLedState()
bool CParameterBase::GetLedState |
( |
| ) |
const |
◆ GetLocalCursor()
const bool CParameterBase::GetLocalCursor |
( |
| ) |
const |
◆ GetName()
const QString CParameterBase::GetName |
( |
| ) |
const |
◆ GetOnlyView()
bool CParameterBase::GetOnlyView |
( |
| ) |
const |
◆ GetServerName()
const QString CParameterBase::GetServerName |
( |
| ) |
const |
◆ GetShowServerName()
bool CParameterBase::GetShowServerName |
( |
| ) |
const |
◆ GetSupportsDesktopResize()
bool CParameterBase::GetSupportsDesktopResize |
( |
| ) |
const |
◆ GetZoomFactor()
double CParameterBase::GetZoomFactor |
( |
| ) |
const |
◆ Init()
int CParameterBase::Init |
( |
| ) |
|
|
private |
◆ OnLoad()
int CParameterBase::OnLoad |
( |
QSettings & |
set | ) |
|
|
overrideprotectedvirtual |
◆ OnSave()
int CParameterBase::OnSave |
( |
QSettings & |
set | ) |
|
|
overrideprotectedvirtual |
◆ SetAdaptWindows()
◆ SetClipboard()
void CParameterBase::SetClipboard |
( |
bool |
c | ) |
|
|
virtual |
◆ SetCursorPosition()
void CParameterBase::SetCursorPosition |
( |
bool |
pos | ) |
|
◆ SetLedState()
void CParameterBase::SetLedState |
( |
bool |
state | ) |
|
◆ SetLocalCursor()
void CParameterBase::SetLocalCursor |
( |
bool |
cursor | ) |
|
◆ SetName()
void CParameterBase::SetName |
( |
const QString & |
szName | ) |
|
◆ SetOnlyView()
void CParameterBase::SetOnlyView |
( |
bool |
only | ) |
|
◆ SetServerName()
void CParameterBase::SetServerName |
( |
const QString & |
szName | ) |
|
◆ SetShowServerName()
void CParameterBase::SetShowServerName |
( |
bool |
NewShowServerName | ) |
|
◆ SetSupportsDesktopResize()
void CParameterBase::SetSupportsDesktopResize |
( |
bool |
newSupportsDesktopResize | ) |
|
◆ SetZoomFactor()
void CParameterBase::SetZoomFactor |
( |
double |
newZoomFactor | ) |
|
◆ slotSetParameterClient()
void CParameterBase::slotSetParameterClient |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ m_AdaptWindows
◆ m_bClipboard
bool CParameterBase::m_bClipboard |
|
private |
◆ m_bCursorPosition
bool CParameterBase::m_bCursorPosition |
|
private |
◆ m_bLedState
bool CParameterBase::m_bLedState |
|
private |
◆ m_bLocalCursor
bool CParameterBase::m_bLocalCursor |
|
private |
◆ m_bOnlyView
bool CParameterBase::m_bOnlyView |
|
private |
◆ m_bShowServerName
bool CParameterBase::m_bShowServerName |
|
private |
◆ m_bSupportsDesktopResize
bool CParameterBase::m_bSupportsDesktopResize |
|
private |
◆ m_dbZoomFactor
double CParameterBase::m_dbZoomFactor |
|
private |
◆ m_Net
◆ m_Proxy
◆ m_Record
◆ m_szName
QString CParameterBase::m_szName |
|
private |
◆ m_szServerName
QString CParameterBase::m_szServerName |
|
private |
◆ AdaptWindows
◆ LocalCursor
bool CParameterBase::LocalCursor |
|
readwrite |
◆ Name
QString CParameterBase::Name |
|
readwrite |
◆ OnlyView
bool CParameterBase::OnlyView |
|
readwrite |
◆ ServerName
QString CParameterBase::ServerName |
|
readwrite |
◆ ShowServerName
bool CParameterBase::ShowServerName |
|
readwrite |
◆ ZoomFactor
double CParameterBase::ZoomFactor |
|
readwrite |
The documentation for this class was generated from the following files:
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Client/ParameterCompone/ParameterBase.h
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Client/ParameterCompone/ParameterBase.cpp