Rabbit Remote Control 0.0.37
|
Public Types | |
enum class | ViewType { Tab , Splitter } |
enum class | SystemTrayIconMenuType { No , RecentOpen , Operate , View , Tools , MenuBar } |
Signals | |
void | sigReceiveShortCutChanged () |
void | sigSaveMainWindowStatusChanged () |
void | sigViewTypeChanged () |
void | sigTabPositionChanged () |
void | sigEnableTabToolTipChanged () |
void | sigEnableTabIconChanged () |
void | sigTabElided () |
void | sigRecentMenuMaxCountChanged (int) |
void | sigSystemTrayIconTypeChanged () |
void | sigEnableSystemTrayIcon () |
void | sigOpenLasterCloseChanged (bool bOpenLasterClose) |
void | sigFavoriteEditChanged (bool FavoriteEdit) |
void | sigStartByTypeChanged () |
![]() | |
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) |
const bool | GetTabElided () const |
void | SetTabElided (bool bElided) |
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 | GetDockListActiveShowToolBar () const |
void | SetDockListActiveShowToolBar (bool bEnable) |
const bool | GetDockListRecentShowToolBar () const |
void | SetDockListRecentShowToolBar (bool bEnable) |
bool | GetKeepSplitViewWhenFullScreen () const |
void | SetKeepSplitViewWhenFullScreen (bool newKeepSplitViewWhenFullScreen) |
bool | GetStartByType () const |
void | SetStartByType (bool newStartByType) |
![]() | |
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. | |
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 |
bool | m_bTabElided |
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_bDockListActiveShowToolBar |
bool | m_bDockListRecentShowToolBar |
bool | m_bKeepSplitViewWhenFullScreen |
bool | m_bStartByType |
Definition at line 7 of file ParameterApp.h.
|
strong |
Definition at line 96 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 33 of file ParameterApp.cpp.
const bool CParameterApp::GetDockListActiveShowToolBar | ( | ) | const |
Definition at line 389 of file ParameterApp.cpp.
const bool CParameterApp::GetDockListRecentShowToolBar | ( | ) | const |
Definition at line 402 of file ParameterApp.cpp.
bool CParameterApp::GetEnableSystemTrayIcon | ( | ) | const |
Definition at line 294 of file ParameterApp.cpp.
const bool CParameterApp::GetEnableTabIcon | ( | ) | const |
Definition at line 238 of file ParameterApp.cpp.
const bool CParameterApp::GetEnableTabToolTip | ( | ) | const |
Definition at line 224 of file ParameterApp.cpp.
bool CParameterApp::GetFavoriteEdit | ( | ) | const |
Definition at line 323 of file ParameterApp.cpp.
bool CParameterApp::GetKeepSplitViewWhenFullScreen | ( | ) | const |
Definition at line 415 of file ParameterApp.cpp.
bool CParameterApp::GetMenuBar | ( | ) | const |
Definition at line 363 of file ParameterApp.cpp.
const bool CParameterApp::GetMessageBoxDisplayInformation | ( | ) | const |
Definition at line 376 of file ParameterApp.cpp.
bool CParameterApp::GetOpenLasterClose | ( | ) | const |
Definition at line 309 of file ParameterApp.cpp.
bool CParameterApp::GetReceiveShortCut | ( | ) | const |
Definition at line 167 of file ParameterApp.cpp.
int CParameterApp::GetRecentMenuMaxCount | ( | ) | const |
Definition at line 266 of file ParameterApp.cpp.
bool CParameterApp::GetSaveMainWindowStatus | ( | ) | const |
Definition at line 181 of file ParameterApp.cpp.
bool CParameterApp::GetStartByType | ( | ) | const |
Definition at line 428 of file ParameterApp.cpp.
bool CParameterApp::GetStatusBar | ( | ) | const |
Definition at line 337 of file ParameterApp.cpp.
CParameterApp::SystemTrayIconMenuType CParameterApp::GetSystemTrayIconMenuType | ( | ) | const |
Definition at line 280 of file ParameterApp.cpp.
bool CParameterApp::GetTabBar | ( | ) | const |
Definition at line 350 of file ParameterApp.cpp.
const bool CParameterApp::GetTabElided | ( | ) | const |
Definition at line 252 of file ParameterApp.cpp.
const QTabWidget::TabPosition & CParameterApp::GetTabPosition | ( | ) | const |
Definition at line 210 of file ParameterApp.cpp.
CParameterApp::ViewType CParameterApp::GetViewType | ( | ) |
Definition at line 195 of file ParameterApp.cpp.
|
protectedvirtual |
Implements CParameter.
Definition at line 37 of file ParameterApp.cpp.
|
protectedvirtual |
Implements CParameter.
Definition at line 112 of file ParameterApp.cpp.
void CParameterApp::SetDockListActiveShowToolBar | ( | bool | bEnable | ) |
Definition at line 394 of file ParameterApp.cpp.
void CParameterApp::SetDockListRecentShowToolBar | ( | bool | bEnable | ) |
Definition at line 407 of file ParameterApp.cpp.
int CParameterApp::SetEnableSystemTrayIcon | ( | bool | bShow | ) |
Definition at line 299 of file ParameterApp.cpp.
void CParameterApp::SetEnableTabIcon | ( | bool | bEnable | ) |
Definition at line 243 of file ParameterApp.cpp.
void CParameterApp::SetEnableTabToolTip | ( | bool | bEnable | ) |
Definition at line 229 of file ParameterApp.cpp.
void CParameterApp::SetFavoriteEdit | ( | bool | newFavoriteEdit | ) |
Definition at line 328 of file ParameterApp.cpp.
void CParameterApp::SetKeepSplitViewWhenFullScreen | ( | bool | newKeepSplitViewWhenFullScreen | ) |
Definition at line 420 of file ParameterApp.cpp.
void CParameterApp::SetMenuBar | ( | bool | checked | ) |
Definition at line 368 of file ParameterApp.cpp.
void CParameterApp::SetMessageBoxDisplayInformation | ( | bool | bEnable | ) |
Definition at line 381 of file ParameterApp.cpp.
void CParameterApp::SetOpenLasterClose | ( | bool | newOpenLasterClose | ) |
Definition at line 314 of file ParameterApp.cpp.
void CParameterApp::SetReceiveShortCut | ( | bool | newReceiveShortCut | ) |
Definition at line 172 of file ParameterApp.cpp.
void CParameterApp::SetRecentMenuMaxCount | ( | int | newRecentMenuMaxCount | ) |
Definition at line 271 of file ParameterApp.cpp.
void CParameterApp::SetSaveMainWindowStatus | ( | bool | newSaveMainWindowStatus | ) |
Definition at line 186 of file ParameterApp.cpp.
void CParameterApp::SetStartByType | ( | bool | newStartByType | ) |
Definition at line 433 of file ParameterApp.cpp.
void CParameterApp::SetStatusBar | ( | bool | checked | ) |
Definition at line 342 of file ParameterApp.cpp.
void CParameterApp::SetSystemTrayIconMenuType | ( | SystemTrayIconMenuType | newSystemTrayIconType | ) |
Definition at line 285 of file ParameterApp.cpp.
void CParameterApp::SetTabBar | ( | bool | checked | ) |
Definition at line 355 of file ParameterApp.cpp.
void CParameterApp::SetTabElided | ( | bool | bElided | ) |
Definition at line 257 of file ParameterApp.cpp.
void CParameterApp::SetTabPosition | ( | const QTabWidget::TabPosition & | newTabPosition | ) |
Definition at line 215 of file ParameterApp.cpp.
int CParameterApp::SetViewType | ( | ViewType | type | ) |
Definition at line 200 of file ParameterApp.cpp.
|
private |
Definition at line 169 of file ParameterApp.h.
|
private |
Definition at line 175 of file ParameterApp.h.
|
private |
Definition at line 115 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 134 of file ParameterApp.h.
|
private |
Definition at line 182 of file ParameterApp.h.
|
private |
Definition at line 155 of file ParameterApp.h.
|
private |
Definition at line 162 of file ParameterApp.h.
|
private |
Definition at line 124 of file ParameterApp.h.
|
private |
Definition at line 25 of file ParameterApp.h.
|
private |
Definition at line 34 of file ParameterApp.h.
|
readwriteprivate |
Definition at line 190 of file ParameterApp.h.
|
private |
Definition at line 141 of file ParameterApp.h.
|
private |
Definition at line 148 of file ParameterApp.h.
|
private |
Definition at line 84 of file ParameterApp.h.
|
private |
Definition at line 92 of file ParameterApp.h.
|
private |
Definition at line 114 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 125 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 135 of file ParameterApp.h.
|
readwrite |
Definition at line 156 of file ParameterApp.h.
|
readwrite |
Definition at line 163 of file ParameterApp.h.
|
readwrite |
Definition at line 26 of file ParameterApp.h.
|
readwrite |
Definition at line 93 of file ParameterApp.h.
|
readwrite |
Definition at line 35 of file ParameterApp.h.
|
readwrite |
Definition at line 142 of file ParameterApp.h.
|
readwrite |
Definition at line 116 of file ParameterApp.h.
|
readwrite |
Definition at line 149 of file ParameterApp.h.
|
readwrite |
Definition at line 58 of file ParameterApp.h.