Rabbit Remote Control 0.0.35
|
Public Types | |
enum class | ViewType { Tab , Splitter } |
enum class | SystemTrayIconMenuType { No , RecentOpen , Remote , View , Tools , MenuBar } |
Signals | |
void | sigReceiveShortCutChanged () |
void | sigSaveMainWindowStatusChanged () |
void | sigViewTypeChanged () |
void | sigTabPositionChanged () |
void | sigEnableTabToolTipChanged () |
void | sigEnableTabIconChanged () |
void | sigRecentMenuMaxCountChanged (int) |
void | sigSystemTrayIconTypeChanged () |
void | sigEnableSystemTrayIcon () |
void | sigOpenLasterCloseChanged (bool bOpenLasterClose) |
void | sigFavoriteEditChanged (bool FavoriteEdit) |
![]() | |
void | sigChanged () |
emit when the parameter changes Usually if required, the corresponding parameter corresponds to a change event. | |
Public Member Functions | |
CParameterApp (QObject *parent=nullptr) | |
bool | GetReceiveShortCut () const |
void | SetReceiveShortCut (bool newReceiveShortCut) |
bool | GetSaveMainWindowStatus () const |
void | SetSaveMainWindowStatus (bool newSaveMainWindowStatus) |
ViewType | GetViewType () |
int | SetViewType (ViewType type) |
const QTabWidget::TabPosition & | GetTabPosition () const |
void | SetTabPosition (const QTabWidget::TabPosition &newTabPosition) |
const bool | GetEnableTabToolTip () const |
void | SetEnableTabToolTip (bool bEnable) |
const bool | GetEnableTabIcon () const |
void | SetEnableTabIcon (bool bEnable) |
int | GetRecentMenuMaxCount () const |
void | SetRecentMenuMaxCount (int newRecentMenuMaxCount) |
SystemTrayIconMenuType | GetSystemTrayIconMenuType () const |
void | SetSystemTrayIconMenuType (SystemTrayIconMenuType newSystemTrayIconType) |
bool | GetEnableSystemTrayIcon () const |
int | SetEnableSystemTrayIcon (bool bShow) |
bool | GetOpenLasterClose () const |
void | SetOpenLasterClose (bool newOpenLasterClose) |
bool | GetFavoriteEdit () const |
void | SetFavoriteEdit (bool newFavoriteEdit) |
bool | GetStatusBar () const |
void | SetStatusBar (bool checked) |
bool | GetTabBar () const |
void | SetTabBar (bool checked) |
bool | GetMenuBar () const |
void | SetMenuBar (bool checked) |
const bool | GetMessageBoxDisplayInformation () const |
void | SetMessageBoxDisplayInformation (bool bEnable) |
const bool | GetDockListConnectersShowToolBar () const |
void | SetDockListConnectersShowToolBar (bool bEnable) |
const bool | GetDockListRecentShowToolBar () const |
void | SetDockListRecentShowToolBar (bool bEnable) |
bool | GetKeepSplitViewWhenFullScreen () const |
void | SetKeepSplitViewWhenFullScreen (bool newKeepSplitViewWhenFullScreen) |
![]() | |
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 storage. | |
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. | |
Protected Member Functions | |
virtual int | OnLoad (QSettings &set) |
virtual int | OnSave (QSettings &set) |
![]() | |
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 | |
bool | ReceiveShortCut |
bool | SaveMainWindowStatus |
QTabWidget::TabPosition | TabPosition |
bool | EnableTabToolTip |
bool | EnableTabIcon |
int | RecentMenuMaxCount |
SystemTrayIconMenuType | SystemTrayIconMenuType |
bool | bOpenLasterClose |
bool | FavoriteEdit |
bool | StatusBar |
bool | TabBar |
bool | MenuBar |
bool | MessageBoxDisplyInformtion |
![]() | |
bool | Modified |
Private Attributes | |
bool | m_bReceiveShortCut |
bool | m_bSaveMainWindowStatus |
ViewType | m_ViewType |
QTabWidget::TabPosition | m_TabPosition |
bool | m_bEnableTabToolTip |
bool | m_bEnableTabIcon |
int | m_nRecentMenuMaxCount |
SystemTrayIconMenuType | m_SystemTrayIconType |
bool | m_bEnableSystemTrayIcon |
bool | m_bOpenLasterClose |
bool | m_bFavoriteEdit |
bool | m_bStatusBar |
bool | m_bTabBar |
bool | m_bMenuBar |
bool | m_bMessageBoxDisplayInfomation |
bool | m_bDockListConnectersShowToolBar |
bool | m_bDockListRecentShowToolBar |
bool | m_bKeepSplitViewWhenFullScreen |
Definition at line 7 of file ParameterApp.h.
|
strong |
Definition at line 88 of file ParameterApp.h.
|
strong |
Definition at line 38 of file ParameterApp.h.
|
explicit |
Definition at line 9 of file ParameterApp.cpp.
|
virtual |
Definition at line 31 of file ParameterApp.cpp.
const bool CParameterApp::GetDockListConnectersShowToolBar | ( | ) | const |
Definition at line 367 of file ParameterApp.cpp.
const bool CParameterApp::GetDockListRecentShowToolBar | ( | ) | const |
Definition at line 380 of file ParameterApp.cpp.
bool CParameterApp::GetEnableSystemTrayIcon | ( | ) | const |
Definition at line 272 of file ParameterApp.cpp.
const bool CParameterApp::GetEnableTabIcon | ( | ) | const |
Definition at line 230 of file ParameterApp.cpp.
const bool CParameterApp::GetEnableTabToolTip | ( | ) | const |
Definition at line 216 of file ParameterApp.cpp.
bool CParameterApp::GetFavoriteEdit | ( | ) | const |
Definition at line 301 of file ParameterApp.cpp.
bool CParameterApp::GetKeepSplitViewWhenFullScreen | ( | ) | const |
Definition at line 393 of file ParameterApp.cpp.
bool CParameterApp::GetMenuBar | ( | ) | const |
Definition at line 341 of file ParameterApp.cpp.
const bool CParameterApp::GetMessageBoxDisplayInformation | ( | ) | const |
Definition at line 354 of file ParameterApp.cpp.
bool CParameterApp::GetOpenLasterClose | ( | ) | const |
Definition at line 287 of file ParameterApp.cpp.
bool CParameterApp::GetReceiveShortCut | ( | ) | const |
Definition at line 159 of file ParameterApp.cpp.
int CParameterApp::GetRecentMenuMaxCount | ( | ) | const |
Definition at line 244 of file ParameterApp.cpp.
bool CParameterApp::GetSaveMainWindowStatus | ( | ) | const |
Definition at line 173 of file ParameterApp.cpp.
bool CParameterApp::GetStatusBar | ( | ) | const |
Definition at line 315 of file ParameterApp.cpp.
CParameterApp::SystemTrayIconMenuType CParameterApp::GetSystemTrayIconMenuType | ( | ) | const |
Definition at line 258 of file ParameterApp.cpp.
bool CParameterApp::GetTabBar | ( | ) | const |
Definition at line 328 of file ParameterApp.cpp.
const QTabWidget::TabPosition & CParameterApp::GetTabPosition | ( | ) | const |
Definition at line 202 of file ParameterApp.cpp.
CParameterApp::ViewType CParameterApp::GetViewType | ( | ) |
Definition at line 187 of file ParameterApp.cpp.
|
protectedvirtual |
Implements CParameter.
Definition at line 35 of file ParameterApp.cpp.
|
protectedvirtual |
Implements CParameter.
Definition at line 107 of file ParameterApp.cpp.
void CParameterApp::SetDockListConnectersShowToolBar | ( | bool | bEnable | ) |
Definition at line 372 of file ParameterApp.cpp.
void CParameterApp::SetDockListRecentShowToolBar | ( | bool | bEnable | ) |
Definition at line 385 of file ParameterApp.cpp.
int CParameterApp::SetEnableSystemTrayIcon | ( | bool | bShow | ) |
Definition at line 277 of file ParameterApp.cpp.
void CParameterApp::SetEnableTabIcon | ( | bool | bEnable | ) |
Definition at line 235 of file ParameterApp.cpp.
void CParameterApp::SetEnableTabToolTip | ( | bool | bEnable | ) |
Definition at line 221 of file ParameterApp.cpp.
void CParameterApp::SetFavoriteEdit | ( | bool | newFavoriteEdit | ) |
Definition at line 306 of file ParameterApp.cpp.
void CParameterApp::SetKeepSplitViewWhenFullScreen | ( | bool | newKeepSplitViewWhenFullScreen | ) |
Definition at line 398 of file ParameterApp.cpp.
void CParameterApp::SetMenuBar | ( | bool | checked | ) |
Definition at line 346 of file ParameterApp.cpp.
void CParameterApp::SetMessageBoxDisplayInformation | ( | bool | bEnable | ) |
Definition at line 359 of file ParameterApp.cpp.
void CParameterApp::SetOpenLasterClose | ( | bool | newOpenLasterClose | ) |
Definition at line 292 of file ParameterApp.cpp.
void CParameterApp::SetReceiveShortCut | ( | bool | newReceiveShortCut | ) |
Definition at line 164 of file ParameterApp.cpp.
void CParameterApp::SetRecentMenuMaxCount | ( | int | newRecentMenuMaxCount | ) |
Definition at line 249 of file ParameterApp.cpp.
void CParameterApp::SetSaveMainWindowStatus | ( | bool | newSaveMainWindowStatus | ) |
Definition at line 178 of file ParameterApp.cpp.
void CParameterApp::SetStatusBar | ( | bool | checked | ) |
Definition at line 320 of file ParameterApp.cpp.
void CParameterApp::SetSystemTrayIconMenuType | ( | SystemTrayIconMenuType | newSystemTrayIconType | ) |
Definition at line 263 of file ParameterApp.cpp.
void CParameterApp::SetTabBar | ( | bool | checked | ) |
Definition at line 333 of file ParameterApp.cpp.
void CParameterApp::SetTabPosition | ( | const QTabWidget::TabPosition & | newTabPosition | ) |
Definition at line 207 of file ParameterApp.cpp.
int CParameterApp::SetViewType | ( | ViewType | type | ) |
Definition at line 192 of file ParameterApp.cpp.
|
private |
Definition at line 160 of file ParameterApp.h.
|
private |
Definition at line 166 of file ParameterApp.h.
|
private |
Definition at line 107 of file ParameterApp.h.
|
private |
Definition at line 75 of file ParameterApp.h.
|
private |
Definition at line 66 of file ParameterApp.h.
|
private |
Definition at line 125 of file ParameterApp.h.
|
private |
Definition at line 172 of file ParameterApp.h.
|
private |
Definition at line 146 of file ParameterApp.h.
|
private |
Definition at line 153 of file ParameterApp.h.
|
private |
Definition at line 116 of file ParameterApp.h.
|
private |
Definition at line 25 of file ParameterApp.h.
|
private |
Definition at line 34 of file ParameterApp.h.
|
private |
Definition at line 132 of file ParameterApp.h.
|
private |
Definition at line 139 of file ParameterApp.h.
|
private |
Definition at line 84 of file ParameterApp.h.
|
private |
Definition at line 106 of file ParameterApp.h.
|
private |
Definition at line 57 of file ParameterApp.h.
|
private |
Definition at line 49 of file ParameterApp.h.
|
readwrite |
Definition at line 117 of file ParameterApp.h.
|
readwrite |
Definition at line 76 of file ParameterApp.h.
|
readwrite |
Definition at line 67 of file ParameterApp.h.
|
readwrite |
Definition at line 126 of file ParameterApp.h.
|
readwrite |
Definition at line 147 of file ParameterApp.h.
|
readwrite |
Definition at line 154 of file ParameterApp.h.
|
readwrite |
Definition at line 26 of file ParameterApp.h.
|
readwrite |
Definition at line 85 of file ParameterApp.h.
|
readwrite |
Definition at line 35 of file ParameterApp.h.
|
readwrite |
Definition at line 133 of file ParameterApp.h.
|
readwrite |
Definition at line 108 of file ParameterApp.h.
|
readwrite |
Definition at line 140 of file ParameterApp.h.
|
readwrite |
Definition at line 58 of file ParameterApp.h.