|
void | sigSetParameterClient () |
|
void | sigChanged () |
| 当参数改变时,触发 通常如果需要,则相应的参数会对应一个改变事件。
|
|
virtual int | Load (QSettings &set) override |
| Load from storage
|
|
virtual int | Save (QSettings &set) override |
|
const QFont & | GetFont () const |
|
void | SetFont (const QFont &newFont) |
|
bool | GetSizeHint () const |
|
void | SetSizeHint (bool newSizeHint) |
|
const QString & | GetColorScheme () const |
|
void | SetColorScheme (const QString &newColorScheme) |
|
Konsole::Emulation::KeyboardCursorShape | GetCursorShape () const |
|
void | SetCursorShape (Konsole::Emulation::KeyboardCursorShape newCursorShape) |
|
QTermWidget::ScrollBarPosition | GetScrollBarPosition () const |
|
void | SetScrollBarPosition (QTermWidget::ScrollBarPosition newScrollBarPosition) |
|
int | GetTransparency () const |
|
void | SetTransparency (int newTermTransparency) |
|
const QString & | GetBackgroupImage () const |
|
void | SetBackgroupImage (const QString &newBackgroupImage) |
|
bool | GetFlowControl () const |
|
void | SetFlowControl (bool newFlowControl) |
|
bool | GetFlowControlWarning () const |
|
void | SetFlowControlWarning (bool newFlowControlWarning) |
|
bool | GetMotionAfterPasting () const |
|
void | SetMotionAfterPasting (bool newMotionAfterPasting) |
|
bool | GetDisableBracketedPasteMode () const |
|
void | SetDisableBracketedPasteMode (bool newDisableBracketedPasteMode) |
|
bool | GetDirectional () const |
|
void | SetDirectional (bool newBiDirectional) |
|
const QString & | GetKeyBindings () const |
|
void | SetKeyBindings (const QString &newSzKeyBindings) |
|
const QString & | GetTextCodec () const |
|
void | SetTextCodec (const QString &newTextCodec) |
|
int | GetHistorySize () const |
|
void | SetHistorySize (int newHistorySize) |
|
| CParameterConnecter (QObject *parent=nullptr, const QString &szPrefix=QString()) |
|
CParameterClient * | GetParameterClient () |
| Get CParameterClient
|
|
int | SetParameterClient (CParameterClient *p) |
|
| 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 | Save (QSettings &set, bool bForce=true) |
| Save to storage
|
|
virtual bool | CheckValidity () |
| 检查参数是否有效,以决定是否使用或者保存参数。 派生类一般只要重载 OnCheckValidity() ,用于检查参数。
|
|
virtual void | slotSetParameterClient () |
| 设置 CParameterClient 后调用,用于初始化与 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 int | OnLoad (QSettings &set)=0 |
|
virtual int | OnSave (QSettings &set)=0 |
|
virtual bool | OnCheckValidity () |
| 检查参数是否有效
|
|
int | SetModified (bool bModified=true) |
| 在设置参数时,如果有修改,则调用。
|
|
bool | GetModified () |
| 参数是否有修改
|
|
bool | Modified |
|