|
玉兔远程控制 0.0.37
|
额外继承的成员函数 | |
信号 继承自 CParameterConnecter | |
| void | sigSetParameterClient () |
信号 继承自 CParameter | |
| void | sigChanged () |
| 当参数改变时,触发 通常如果需要,则相应的参数会对应一个改变事件。 | |
Public 成员函数 继承自 CParameterTerminal | |
| 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) |
Public 成员函数 继承自 CParameterConnecter | |
| CParameterConnecter (QObject *parent=nullptr, const QString &szPrefix=QString()) | |
| CParameterClient * | GetParameterClient () |
| Get CParameterClient | |
| int | SetParameterClient (CParameterClient *p) |
Public 成员函数 继承自 CParameter | |
| 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() ,用于检查参数。 | |
Protected 槽 继承自 CParameterConnecter | |
| virtual void | slotSetParameterClient () |
| 设置 CParameterClient 后调用,用于初始化与 CParameterClient 有关的操作。 | |
Protected 成员函数 继承自 CParameterConnecter | |
| 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) |
Protected 成员函数 继承自 CParameter | |
| virtual int | OnLoad (QSettings &set)=0 |
| virtual int | OnSave (QSettings &set)=0 |
| virtual bool | OnCheckValidity () |
| 检查参数是否有效 | |
| int | SetModified (bool bModified=true) |
| 在设置参数时,如果有修改,则调用。 | |
| bool | GetModified () |
| 参数是否有修改 | |
属性 继承自 CParameter | |
| bool | Modified |
在文件 ParameterTelnet.h 第 6 行定义.
| CParameterTelnet::CParameterTelnet | ( | ) |
在文件 ParameterTelnet.cpp 第 3 行定义.