|
| | CParameterFilter (QObject *parent=nullptr, const QString &szPrefix=QString()) |
| |
| virtual bool | contains (const QString &szKey) |
| |
| int | AddKey (const QString &szKey) |
| |
| int | RemoveKey (const QString &szKey) |
| |
| int | Clear () |
| |
| virtual bool | isEmpty () |
| |
| int | OnProcess (std::function< int(const QString &key)> cb, bool bErrExit=false) |
| |
| | CParameter (QObject *parent=nullptr, const QString &szPrefix=QString()) |
| |
| virtual int | Load (QString szFile=QString()) |
| | Load from file.
|
| |
| virtual int | Save (QString szFile=QString(), bool bForce=true) |
| | Save to file.
|
| |
| virtual int | Load (QSettings &set) |
| | Load from QSettings.
|
| |
| virtual int | Save (QSettings &set, bool bForce=true) |
| | Save to QSettings.
|
| |
| virtual bool | CheckValidity () |
| | Check whether the parameter is valid to decide whether to use or save the parameter.
|
| |
|
| virtual int | OnLoad (QSettings &set) override |
| |
| virtual int | OnSave (QSettings &set) override |
| |
| 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.
|
| |
|
|
void | sigChanged () |
| | emit when the parameter changes Usually if required, the corresponding parameter corresponds to a change event.
|
| |
| bool | Modified |
| |
Definition at line 7 of file ParameterFilter.h.
◆ CParameterFilter()
| CParameterFilter::CParameterFilter |
( |
QObject * |
parent = nullptr, |
|
|
const QString & |
szPrefix = QString() |
|
) |
| |
|
explicit |
◆ AddKey()
| int CParameterFilter::AddKey |
( |
const QString & |
szKey | ) |
|
◆ Clear()
| int CParameterFilter::Clear |
( |
| ) |
|
◆ contains()
| bool CParameterFilter::contains |
( |
const QString & |
szKey | ) |
|
|
virtual |
◆ isEmpty()
| bool CParameterFilter::isEmpty |
( |
| ) |
|
|
virtual |
◆ OnLoad()
| int CParameterFilter::OnLoad |
( |
QSettings & |
set | ) |
|
|
overrideprotectedvirtual |
◆ OnProcess()
| int CParameterFilter::OnProcess |
( |
std::function< int(const QString &key)> |
cb, |
|
|
bool |
bErrExit = false |
|
) |
| |
◆ OnSave()
| int CParameterFilter::OnSave |
( |
QSettings & |
set | ) |
|
|
overrideprotectedvirtual |
◆ RemoveKey()
| int CParameterFilter::RemoveKey |
( |
const QString & |
szKey | ) |
|
◆ m_Key
| QSet<QString> CParameterFilter::m_Key |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Src/ParameterCompone/ParameterFilter.h
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Src/ParameterCompone/ParameterFilter.cpp