Rabbit Remote Control 0.0.30
|
Public Member Functions | |
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 Member Functions inherited from CParameterConnecter | |
CParameterConnecter (QObject *parent=nullptr, const QString &szPrefix=QString()) | |
CParameterClient * | GetParameterClient () |
Get CParameterClient. | |
int | SetParameterClient (CParameterClient *p) |
Public Member Functions inherited from 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 () |
Check whether the parameter is valid to decide whether to use or save the parameter. | |
Private Attributes | |
QFont | m_Font |
bool | m_bSizeHint |
QString | m_szColorScheme |
Konsole::Emulation::KeyboardCursorShape | m_CursorShape |
QTermWidget::ScrollBarPosition | m_ScrollBarPosition |
int | m_nTransparency |
QString | m_BackgroupImage |
bool | m_bFlowControl |
bool | m_bFlowControlWarning |
bool | m_bMotionAfterPasting |
bool | m_bDisableBracketedPasteMode |
bool | m_bDirectional |
QString | m_szKeyBindings |
QString | m_szTextCodec |
int | m_nHistorySize |
Additional Inherited Members | |
Signals inherited from CParameterConnecter | |
void | sigSetParameterClient () |
Signals inherited from CParameter | |
void | sigChanged () |
emit when the parameter changes Usually if required, the corresponding parameter corresponds to a change event. | |
Protected Slots inherited from CParameterConnecter | |
virtual void | slotSetParameterClient () |
Call after set CParameterClient. | |
Protected Member Functions inherited from 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 Member Functions inherited from CParameter | |
virtual int | OnLoad (QSettings &set)=0 |
virtual int | OnSave (QSettings &set)=0 |
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. | |
Properties inherited from CParameter | |
bool | Modified |
Definition at line 9 of file ParameterTerminal.h.
CParameterTerminal::CParameterTerminal | ( | ) |
Definition at line 6 of file ParameterTerminal.cpp.
const QString & CParameterTerminal::GetBackgroupImage | ( | ) | const |
Definition at line 192 of file ParameterTerminal.cpp.
const QString & CParameterTerminal::GetColorScheme | ( | ) | const |
Definition at line 244 of file ParameterTerminal.cpp.
Konsole::Emulation::KeyboardCursorShape CParameterTerminal::GetCursorShape | ( | ) | const |
Definition at line 231 of file ParameterTerminal.cpp.
bool CParameterTerminal::GetDirectional | ( | ) | const |
Definition at line 127 of file ParameterTerminal.cpp.
bool CParameterTerminal::GetDisableBracketedPasteMode | ( | ) | const |
Definition at line 140 of file ParameterTerminal.cpp.
bool CParameterTerminal::GetFlowControl | ( | ) | const |
Definition at line 179 of file ParameterTerminal.cpp.
bool CParameterTerminal::GetFlowControlWarning | ( | ) | const |
Definition at line 166 of file ParameterTerminal.cpp.
const QFont & CParameterTerminal::GetFont | ( | ) | const |
Definition at line 270 of file ParameterTerminal.cpp.
int CParameterTerminal::GetHistorySize | ( | ) | const |
Definition at line 88 of file ParameterTerminal.cpp.
const QString & CParameterTerminal::GetKeyBindings | ( | ) | const |
Definition at line 114 of file ParameterTerminal.cpp.
bool CParameterTerminal::GetMotionAfterPasting | ( | ) | const |
Definition at line 153 of file ParameterTerminal.cpp.
QTermWidget::ScrollBarPosition CParameterTerminal::GetScrollBarPosition | ( | ) | const |
Definition at line 218 of file ParameterTerminal.cpp.
bool CParameterTerminal::GetSizeHint | ( | ) | const |
Definition at line 257 of file ParameterTerminal.cpp.
const QString & CParameterTerminal::GetTextCodec | ( | ) | const |
Definition at line 101 of file ParameterTerminal.cpp.
int CParameterTerminal::GetTransparency | ( | ) | const |
Definition at line 205 of file ParameterTerminal.cpp.
|
overridevirtual |
Load from storage.
Reimplemented from CParameter.
Definition at line 39 of file ParameterTerminal.cpp.
|
overridevirtual |
Definition at line 67 of file ParameterTerminal.cpp.
void CParameterTerminal::SetBackgroupImage | ( | const QString & | newBackgroupImage | ) |
Definition at line 197 of file ParameterTerminal.cpp.
void CParameterTerminal::SetColorScheme | ( | const QString & | newColorScheme | ) |
Definition at line 249 of file ParameterTerminal.cpp.
void CParameterTerminal::SetCursorShape | ( | Konsole::Emulation::KeyboardCursorShape | newCursorShape | ) |
Definition at line 236 of file ParameterTerminal.cpp.
void CParameterTerminal::SetDirectional | ( | bool | newBiDirectional | ) |
Definition at line 132 of file ParameterTerminal.cpp.
void CParameterTerminal::SetDisableBracketedPasteMode | ( | bool | newDisableBracketedPasteMode | ) |
Definition at line 145 of file ParameterTerminal.cpp.
void CParameterTerminal::SetFlowControl | ( | bool | newFlowControl | ) |
Definition at line 184 of file ParameterTerminal.cpp.
void CParameterTerminal::SetFlowControlWarning | ( | bool | newFlowControlWarning | ) |
Definition at line 171 of file ParameterTerminal.cpp.
void CParameterTerminal::SetFont | ( | const QFont & | newFont | ) |
Definition at line 275 of file ParameterTerminal.cpp.
void CParameterTerminal::SetHistorySize | ( | int | newHistorySize | ) |
Definition at line 93 of file ParameterTerminal.cpp.
void CParameterTerminal::SetKeyBindings | ( | const QString & | newSzKeyBindings | ) |
Definition at line 119 of file ParameterTerminal.cpp.
void CParameterTerminal::SetMotionAfterPasting | ( | bool | newMotionAfterPasting | ) |
Definition at line 158 of file ParameterTerminal.cpp.
void CParameterTerminal::SetScrollBarPosition | ( | QTermWidget::ScrollBarPosition | newScrollBarPosition | ) |
Definition at line 223 of file ParameterTerminal.cpp.
void CParameterTerminal::SetSizeHint | ( | bool | newSizeHint | ) |
Definition at line 262 of file ParameterTerminal.cpp.
void CParameterTerminal::SetTextCodec | ( | const QString & | newTextCodec | ) |
Definition at line 106 of file ParameterTerminal.cpp.
void CParameterTerminal::SetTransparency | ( | int | newTermTransparency | ) |
Definition at line 210 of file ParameterTerminal.cpp.
|
private |
Definition at line 57 of file ParameterTerminal.h.
|
private |
Definition at line 64 of file ParameterTerminal.h.
|
private |
Definition at line 63 of file ParameterTerminal.h.
|
private |
Definition at line 59 of file ParameterTerminal.h.
|
private |
Definition at line 60 of file ParameterTerminal.h.
|
private |
Definition at line 62 of file ParameterTerminal.h.
|
private |
Definition at line 52 of file ParameterTerminal.h.
|
private |
Definition at line 54 of file ParameterTerminal.h.
|
private |
Definition at line 51 of file ParameterTerminal.h.
|
private |
Definition at line 67 of file ParameterTerminal.h.
|
private |
Definition at line 56 of file ParameterTerminal.h.
|
private |
Definition at line 55 of file ParameterTerminal.h.
|
private |
Definition at line 53 of file ParameterTerminal.h.
|
private |
Definition at line 65 of file ParameterTerminal.h.
|
private |
Definition at line 66 of file ParameterTerminal.h.