玉兔远程控制 0.1.0-bate6
载入中...
搜索中...
未找到
Public 类型 | 信号 | Public 成员函数 | Public 属性 | Protected 成员函数 | 属性 | Private 属性 | 所有成员列表
CParameterApp类 参考
类 CParameterApp 继承关系图:
Inheritance graph
[图例]
CParameterApp 的协作图:
Collaboration graph
[图例]

Public 类型

enum class  ViewType { Tab , Splitter }
 
enum class  SystemTrayIconMenuType {
  No , RecentOpen , Operate , View ,
  Tools , MenuBar
}
 

信号

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 ()
 
- 信号 继承自 CParameter
void sigChanged ()
 当参数改变时,触发 通常如果需要,则相应的参数会对应一个改变事件。
 

Public 成员函数

 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)
 
const bool GetDockListFavoriteShowToolBar () const
 
void SetDockListFovoriteShowToolBar (bool bEnable)
 
bool GetKeepSplitViewWhenFullScreen () const
 
void SetKeepSplitViewWhenFullScreen (bool newKeepSplitViewWhenFullScreen)
 
bool GetStartByType () const
 
void SetStartByType (bool newStartByType)
 
- 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 Load (QSettings &set)
 Load from QSettings
 
virtual int Save (QSettings &set, bool bForce=true)
 Save to QSettings
 
virtual bool CheckValidity ()
 检查参数是否有效,以决定是否使用或者保存参数。 派生类一般只要重载 OnCheckValidity() ,用于检查参数。
 

Public 属性

CParameterDatabasem_pDatabase
 

Protected 成员函数

virtual int OnLoad (QSettings &set)
 
virtual int OnSave (QSettings &set)
 
- Protected 成员函数 继承自 CParameter
virtual bool OnCheckValidity ()
 检查参数是否有效
 
int SetModified (bool bModified=true)
 在设置参数时,如果有修改,则调用。
 
bool GetModified ()
 参数是否有修改
 

属性

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
 
- 属性 继承自 CParameter
bool Modified
 

Private 属性

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_bDockListFavoriteShowToolBar
 
bool m_bKeepSplitViewWhenFullScreen
 
bool m_bStartByType
 

详细描述

在文件 ParameterApp.h8 行定义.

成员枚举类型说明

◆ SystemTrayIconMenuType

enum class CParameterApp::SystemTrayIconMenuType
strong

在文件 ParameterApp.h99 行定义.

◆ ViewType

enum class CParameterApp::ViewType
strong

在文件 ParameterApp.h41 行定义.

构造及析构函数说明

◆ CParameterApp()

CParameterApp::CParameterApp ( QObject *  parent = nullptr)
explicit

在文件 ParameterApp.cpp9 行定义.

◆ ~CParameterApp()

CParameterApp::~CParameterApp ( )
virtual

在文件 ParameterApp.cpp35 行定义.

成员函数说明

◆ GetDockListActiveShowToolBar()

const bool CParameterApp::GetDockListActiveShowToolBar ( ) const

在文件 ParameterApp.cpp397 行定义.

◆ GetDockListFavoriteShowToolBar()

const bool CParameterApp::GetDockListFavoriteShowToolBar ( ) const

在文件 ParameterApp.cpp423 行定义.

◆ GetDockListRecentShowToolBar()

const bool CParameterApp::GetDockListRecentShowToolBar ( ) const

在文件 ParameterApp.cpp410 行定义.

◆ GetEnableSystemTrayIcon()

bool CParameterApp::GetEnableSystemTrayIcon ( ) const

在文件 ParameterApp.cpp302 行定义.

◆ GetEnableTabIcon()

const bool CParameterApp::GetEnableTabIcon ( ) const

在文件 ParameterApp.cpp246 行定义.

◆ GetEnableTabToolTip()

const bool CParameterApp::GetEnableTabToolTip ( ) const

在文件 ParameterApp.cpp232 行定义.

◆ GetFavoriteEdit()

bool CParameterApp::GetFavoriteEdit ( ) const

在文件 ParameterApp.cpp331 行定义.

◆ GetKeepSplitViewWhenFullScreen()

bool CParameterApp::GetKeepSplitViewWhenFullScreen ( ) const

在文件 ParameterApp.cpp436 行定义.

◆ GetMenuBar()

bool CParameterApp::GetMenuBar ( ) const

在文件 ParameterApp.cpp371 行定义.

◆ GetMessageBoxDisplayInformation()

const bool CParameterApp::GetMessageBoxDisplayInformation ( ) const

在文件 ParameterApp.cpp384 行定义.

◆ GetOpenLasterClose()

bool CParameterApp::GetOpenLasterClose ( ) const

在文件 ParameterApp.cpp317 行定义.

◆ GetReceiveShortCut()

bool CParameterApp::GetReceiveShortCut ( ) const

在文件 ParameterApp.cpp175 行定义.

◆ GetRecentMenuMaxCount()

int CParameterApp::GetRecentMenuMaxCount ( ) const

在文件 ParameterApp.cpp274 行定义.

◆ GetSaveMainWindowStatus()

bool CParameterApp::GetSaveMainWindowStatus ( ) const

在文件 ParameterApp.cpp189 行定义.

◆ GetStartByType()

bool CParameterApp::GetStartByType ( ) const

在文件 ParameterApp.cpp449 行定义.

◆ GetStatusBar()

bool CParameterApp::GetStatusBar ( ) const

在文件 ParameterApp.cpp345 行定义.

◆ GetSystemTrayIconMenuType()

CParameterApp::SystemTrayIconMenuType CParameterApp::GetSystemTrayIconMenuType ( ) const

在文件 ParameterApp.cpp288 行定义.

◆ GetTabBar()

bool CParameterApp::GetTabBar ( ) const

在文件 ParameterApp.cpp358 行定义.

◆ GetTabElided()

const bool CParameterApp::GetTabElided ( ) const

在文件 ParameterApp.cpp260 行定义.

◆ GetTabPosition()

const QTabWidget::TabPosition & CParameterApp::GetTabPosition ( ) const

在文件 ParameterApp.cpp218 行定义.

◆ GetViewType()

CParameterApp::ViewType CParameterApp::GetViewType ( )

在文件 ParameterApp.cpp203 行定义.

◆ OnLoad()

int CParameterApp::OnLoad ( QSettings &  set)
protectedvirtual

实现了 CParameter.

在文件 ParameterApp.cpp39 行定义.

◆ OnSave()

int CParameterApp::OnSave ( QSettings &  set)
protectedvirtual

实现了 CParameter.

在文件 ParameterApp.cpp118 行定义.

◆ SetDockListActiveShowToolBar()

void CParameterApp::SetDockListActiveShowToolBar ( bool  bEnable)

在文件 ParameterApp.cpp402 行定义.

◆ SetDockListFovoriteShowToolBar()

void CParameterApp::SetDockListFovoriteShowToolBar ( bool  bEnable)

在文件 ParameterApp.cpp428 行定义.

◆ SetDockListRecentShowToolBar()

void CParameterApp::SetDockListRecentShowToolBar ( bool  bEnable)

在文件 ParameterApp.cpp415 行定义.

◆ SetEnableSystemTrayIcon()

int CParameterApp::SetEnableSystemTrayIcon ( bool  bShow)

在文件 ParameterApp.cpp307 行定义.

◆ SetEnableTabIcon()

void CParameterApp::SetEnableTabIcon ( bool  bEnable)

在文件 ParameterApp.cpp251 行定义.

◆ SetEnableTabToolTip()

void CParameterApp::SetEnableTabToolTip ( bool  bEnable)

在文件 ParameterApp.cpp237 行定义.

◆ SetFavoriteEdit()

void CParameterApp::SetFavoriteEdit ( bool  newFavoriteEdit)

在文件 ParameterApp.cpp336 行定义.

◆ SetKeepSplitViewWhenFullScreen()

void CParameterApp::SetKeepSplitViewWhenFullScreen ( bool  newKeepSplitViewWhenFullScreen)

在文件 ParameterApp.cpp441 行定义.

◆ SetMenuBar()

void CParameterApp::SetMenuBar ( bool  checked)

在文件 ParameterApp.cpp376 行定义.

◆ SetMessageBoxDisplayInformation()

void CParameterApp::SetMessageBoxDisplayInformation ( bool  bEnable)

在文件 ParameterApp.cpp389 行定义.

◆ SetOpenLasterClose()

void CParameterApp::SetOpenLasterClose ( bool  newOpenLasterClose)

在文件 ParameterApp.cpp322 行定义.

◆ SetReceiveShortCut()

void CParameterApp::SetReceiveShortCut ( bool  newReceiveShortCut)

在文件 ParameterApp.cpp180 行定义.

◆ SetRecentMenuMaxCount()

void CParameterApp::SetRecentMenuMaxCount ( int  newRecentMenuMaxCount)

在文件 ParameterApp.cpp279 行定义.

◆ SetSaveMainWindowStatus()

void CParameterApp::SetSaveMainWindowStatus ( bool  newSaveMainWindowStatus)

在文件 ParameterApp.cpp194 行定义.

◆ SetStartByType()

void CParameterApp::SetStartByType ( bool  newStartByType)

在文件 ParameterApp.cpp454 行定义.

◆ SetStatusBar()

void CParameterApp::SetStatusBar ( bool  checked)

在文件 ParameterApp.cpp350 行定义.

◆ SetSystemTrayIconMenuType()

void CParameterApp::SetSystemTrayIconMenuType ( SystemTrayIconMenuType  newSystemTrayIconType)

在文件 ParameterApp.cpp293 行定义.

◆ SetTabBar()

void CParameterApp::SetTabBar ( bool  checked)

在文件 ParameterApp.cpp363 行定义.

◆ SetTabElided()

void CParameterApp::SetTabElided ( bool  bElided)

在文件 ParameterApp.cpp265 行定义.

◆ SetTabPosition()

void CParameterApp::SetTabPosition ( const QTabWidget::TabPosition &  newTabPosition)

在文件 ParameterApp.cpp223 行定义.

◆ SetViewType()

int CParameterApp::SetViewType ( ViewType  type)

在文件 ParameterApp.cpp208 行定义.

类成员变量说明

◆ m_bDockListActiveShowToolBar

bool CParameterApp::m_bDockListActiveShowToolBar
private

在文件 ParameterApp.h172 行定义.

◆ m_bDockListFavoriteShowToolBar

bool CParameterApp::m_bDockListFavoriteShowToolBar
private

在文件 ParameterApp.h184 行定义.

◆ m_bDockListRecentShowToolBar

bool CParameterApp::m_bDockListRecentShowToolBar
private

在文件 ParameterApp.h178 行定义.

◆ m_bEnableSystemTrayIcon

bool CParameterApp::m_bEnableSystemTrayIcon
private

在文件 ParameterApp.h118 行定义.

◆ m_bEnableTabIcon

bool CParameterApp::m_bEnableTabIcon
private

在文件 ParameterApp.h78 行定义.

◆ m_bEnableTabToolTip

bool CParameterApp::m_bEnableTabToolTip
private

在文件 ParameterApp.h69 行定义.

◆ m_bFavoriteEdit

bool CParameterApp::m_bFavoriteEdit
private

在文件 ParameterApp.h137 行定义.

◆ m_bKeepSplitViewWhenFullScreen

bool CParameterApp::m_bKeepSplitViewWhenFullScreen
private

在文件 ParameterApp.h191 行定义.

◆ m_bMenuBar

bool CParameterApp::m_bMenuBar
private

在文件 ParameterApp.h158 行定义.

◆ m_bMessageBoxDisplayInfomation

bool CParameterApp::m_bMessageBoxDisplayInfomation
private

在文件 ParameterApp.h165 行定义.

◆ m_bOpenLasterClose

bool CParameterApp::m_bOpenLasterClose
private

在文件 ParameterApp.h127 行定义.

◆ m_bReceiveShortCut

bool CParameterApp::m_bReceiveShortCut
private

在文件 ParameterApp.h28 行定义.

◆ m_bSaveMainWindowStatus

bool CParameterApp::m_bSaveMainWindowStatus
private

在文件 ParameterApp.h37 行定义.

◆ m_bStartByType

bool CParameterApp::m_bStartByType
readwriteprivate

在文件 ParameterApp.h199 行定义.

◆ m_bStatusBar

bool CParameterApp::m_bStatusBar
private

在文件 ParameterApp.h144 行定义.

◆ m_bTabBar

bool CParameterApp::m_bTabBar
private

在文件 ParameterApp.h151 行定义.

◆ m_bTabElided

bool CParameterApp::m_bTabElided
private

在文件 ParameterApp.h87 行定义.

◆ m_nRecentMenuMaxCount

int CParameterApp::m_nRecentMenuMaxCount
private

在文件 ParameterApp.h95 行定义.

◆ m_pDatabase

CParameterDatabase* CParameterApp::m_pDatabase

在文件 ParameterApp.h16 行定义.

◆ m_SystemTrayIconType

SystemTrayIconMenuType CParameterApp::m_SystemTrayIconType
private

在文件 ParameterApp.h117 行定义.

◆ m_TabPosition

QTabWidget::TabPosition CParameterApp::m_TabPosition
private

在文件 ParameterApp.h60 行定义.

◆ m_ViewType

ViewType CParameterApp::m_ViewType
private

在文件 ParameterApp.h52 行定义.

属性说明

◆ bOpenLasterClose

bool CParameterApp::bOpenLasterClose
readwrite

在文件 ParameterApp.h128 行定义.

◆ EnableTabIcon

bool CParameterApp::EnableTabIcon
readwrite

在文件 ParameterApp.h79 行定义.

◆ EnableTabToolTip

bool CParameterApp::EnableTabToolTip
readwrite

在文件 ParameterApp.h70 行定义.

◆ FavoriteEdit

bool CParameterApp::FavoriteEdit
readwrite

在文件 ParameterApp.h138 行定义.

◆ MenuBar

bool CParameterApp::MenuBar
readwrite

在文件 ParameterApp.h159 行定义.

◆ MessageBoxDisplyInformtion

bool CParameterApp::MessageBoxDisplyInformtion
readwrite

在文件 ParameterApp.h166 行定义.

◆ ReceiveShortCut

bool CParameterApp::ReceiveShortCut
readwrite

在文件 ParameterApp.h29 行定义.

◆ RecentMenuMaxCount

int CParameterApp::RecentMenuMaxCount
readwrite

在文件 ParameterApp.h96 行定义.

◆ SaveMainWindowStatus

bool CParameterApp::SaveMainWindowStatus
readwrite

在文件 ParameterApp.h38 行定义.

◆ StatusBar

bool CParameterApp::StatusBar
readwrite

在文件 ParameterApp.h145 行定义.

◆ SystemTrayIconMenuType

SystemTrayIconMenuType CParameterApp::SystemTrayIconMenuType
readwrite

在文件 ParameterApp.h119 行定义.

◆ TabBar

bool CParameterApp::TabBar
readwrite

在文件 ParameterApp.h152 行定义.

◆ TabPosition

QTabWidget::TabPosition CParameterApp::TabPosition
readwrite

在文件 ParameterApp.h61 行定义.


该类的文档由以下文件生成: