玉兔远程控制 0.1.0-de
载入中...
搜索中...
未找到
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)
 
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() ,用于检查参数。
 

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_bKeepSplitViewWhenFullScreen
 
bool m_bStartByType
 

详细描述

在文件 ParameterApp.h 第 7 行定义.

成员枚举类型说明

◆ SystemTrayIconMenuType

enum class CParameterApp::SystemTrayIconMenuType
strong

在文件 ParameterApp.h 第 96 行定义.

◆ ViewType

enum class CParameterApp::ViewType
strong

在文件 ParameterApp.h 第 38 行定义.

构造及析构函数说明

◆ CParameterApp()

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

在文件 ParameterApp.cpp 第 9 行定义.

◆ ~CParameterApp()

CParameterApp::~CParameterApp ( )
virtual

在文件 ParameterApp.cpp 第 33 行定义.

成员函数说明

◆ GetDockListActiveShowToolBar()

const bool CParameterApp::GetDockListActiveShowToolBar ( ) const

在文件 ParameterApp.cpp 第 389 行定义.

◆ GetDockListRecentShowToolBar()

const bool CParameterApp::GetDockListRecentShowToolBar ( ) const

在文件 ParameterApp.cpp 第 402 行定义.

◆ GetEnableSystemTrayIcon()

bool CParameterApp::GetEnableSystemTrayIcon ( ) const

在文件 ParameterApp.cpp 第 294 行定义.

◆ GetEnableTabIcon()

const bool CParameterApp::GetEnableTabIcon ( ) const

在文件 ParameterApp.cpp 第 238 行定义.

◆ GetEnableTabToolTip()

const bool CParameterApp::GetEnableTabToolTip ( ) const

在文件 ParameterApp.cpp 第 224 行定义.

◆ GetFavoriteEdit()

bool CParameterApp::GetFavoriteEdit ( ) const

在文件 ParameterApp.cpp 第 323 行定义.

◆ GetKeepSplitViewWhenFullScreen()

bool CParameterApp::GetKeepSplitViewWhenFullScreen ( ) const

在文件 ParameterApp.cpp 第 415 行定义.

◆ GetMenuBar()

bool CParameterApp::GetMenuBar ( ) const

在文件 ParameterApp.cpp 第 363 行定义.

◆ GetMessageBoxDisplayInformation()

const bool CParameterApp::GetMessageBoxDisplayInformation ( ) const

在文件 ParameterApp.cpp 第 376 行定义.

◆ GetOpenLasterClose()

bool CParameterApp::GetOpenLasterClose ( ) const

在文件 ParameterApp.cpp 第 309 行定义.

◆ GetReceiveShortCut()

bool CParameterApp::GetReceiveShortCut ( ) const

在文件 ParameterApp.cpp 第 167 行定义.

◆ GetRecentMenuMaxCount()

int CParameterApp::GetRecentMenuMaxCount ( ) const

在文件 ParameterApp.cpp 第 266 行定义.

◆ GetSaveMainWindowStatus()

bool CParameterApp::GetSaveMainWindowStatus ( ) const

在文件 ParameterApp.cpp 第 181 行定义.

◆ GetStartByType()

bool CParameterApp::GetStartByType ( ) const

在文件 ParameterApp.cpp 第 428 行定义.

◆ GetStatusBar()

bool CParameterApp::GetStatusBar ( ) const

在文件 ParameterApp.cpp 第 337 行定义.

◆ GetSystemTrayIconMenuType()

CParameterApp::SystemTrayIconMenuType CParameterApp::GetSystemTrayIconMenuType ( ) const

在文件 ParameterApp.cpp 第 280 行定义.

◆ GetTabBar()

bool CParameterApp::GetTabBar ( ) const

在文件 ParameterApp.cpp 第 350 行定义.

◆ GetTabElided()

const bool CParameterApp::GetTabElided ( ) const

在文件 ParameterApp.cpp 第 252 行定义.

◆ GetTabPosition()

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

在文件 ParameterApp.cpp 第 210 行定义.

◆ GetViewType()

CParameterApp::ViewType CParameterApp::GetViewType ( )

在文件 ParameterApp.cpp 第 195 行定义.

◆ OnLoad()

int CParameterApp::OnLoad ( QSettings &  set)
protectedvirtual

实现了 CParameter.

在文件 ParameterApp.cpp 第 37 行定义.

◆ OnSave()

int CParameterApp::OnSave ( QSettings &  set)
protectedvirtual

实现了 CParameter.

在文件 ParameterApp.cpp 第 112 行定义.

◆ SetDockListActiveShowToolBar()

void CParameterApp::SetDockListActiveShowToolBar ( bool  bEnable)

在文件 ParameterApp.cpp 第 394 行定义.

◆ SetDockListRecentShowToolBar()

void CParameterApp::SetDockListRecentShowToolBar ( bool  bEnable)

在文件 ParameterApp.cpp 第 407 行定义.

◆ SetEnableSystemTrayIcon()

int CParameterApp::SetEnableSystemTrayIcon ( bool  bShow)

在文件 ParameterApp.cpp 第 299 行定义.

◆ SetEnableTabIcon()

void CParameterApp::SetEnableTabIcon ( bool  bEnable)

在文件 ParameterApp.cpp 第 243 行定义.

◆ SetEnableTabToolTip()

void CParameterApp::SetEnableTabToolTip ( bool  bEnable)

在文件 ParameterApp.cpp 第 229 行定义.

◆ SetFavoriteEdit()

void CParameterApp::SetFavoriteEdit ( bool  newFavoriteEdit)

在文件 ParameterApp.cpp 第 328 行定义.

◆ SetKeepSplitViewWhenFullScreen()

void CParameterApp::SetKeepSplitViewWhenFullScreen ( bool  newKeepSplitViewWhenFullScreen)

在文件 ParameterApp.cpp 第 420 行定义.

◆ SetMenuBar()

void CParameterApp::SetMenuBar ( bool  checked)

在文件 ParameterApp.cpp 第 368 行定义.

◆ SetMessageBoxDisplayInformation()

void CParameterApp::SetMessageBoxDisplayInformation ( bool  bEnable)

在文件 ParameterApp.cpp 第 381 行定义.

◆ SetOpenLasterClose()

void CParameterApp::SetOpenLasterClose ( bool  newOpenLasterClose)

在文件 ParameterApp.cpp 第 314 行定义.

◆ SetReceiveShortCut()

void CParameterApp::SetReceiveShortCut ( bool  newReceiveShortCut)

在文件 ParameterApp.cpp 第 172 行定义.

◆ SetRecentMenuMaxCount()

void CParameterApp::SetRecentMenuMaxCount ( int  newRecentMenuMaxCount)

在文件 ParameterApp.cpp 第 271 行定义.

◆ SetSaveMainWindowStatus()

void CParameterApp::SetSaveMainWindowStatus ( bool  newSaveMainWindowStatus)

在文件 ParameterApp.cpp 第 186 行定义.

◆ SetStartByType()

void CParameterApp::SetStartByType ( bool  newStartByType)

在文件 ParameterApp.cpp 第 433 行定义.

◆ SetStatusBar()

void CParameterApp::SetStatusBar ( bool  checked)

在文件 ParameterApp.cpp 第 342 行定义.

◆ SetSystemTrayIconMenuType()

void CParameterApp::SetSystemTrayIconMenuType ( SystemTrayIconMenuType  newSystemTrayIconType)

在文件 ParameterApp.cpp 第 285 行定义.

◆ SetTabBar()

void CParameterApp::SetTabBar ( bool  checked)

在文件 ParameterApp.cpp 第 355 行定义.

◆ SetTabElided()

void CParameterApp::SetTabElided ( bool  bElided)

在文件 ParameterApp.cpp 第 257 行定义.

◆ SetTabPosition()

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

在文件 ParameterApp.cpp 第 215 行定义.

◆ SetViewType()

int CParameterApp::SetViewType ( ViewType  type)

在文件 ParameterApp.cpp 第 200 行定义.

类成员变量说明

◆ m_bDockListActiveShowToolBar

bool CParameterApp::m_bDockListActiveShowToolBar
private

在文件 ParameterApp.h 第 169 行定义.

◆ m_bDockListRecentShowToolBar

bool CParameterApp::m_bDockListRecentShowToolBar
private

在文件 ParameterApp.h 第 175 行定义.

◆ m_bEnableSystemTrayIcon

bool CParameterApp::m_bEnableSystemTrayIcon
private

在文件 ParameterApp.h 第 115 行定义.

◆ m_bEnableTabIcon

bool CParameterApp::m_bEnableTabIcon
private

在文件 ParameterApp.h 第 75 行定义.

◆ m_bEnableTabToolTip

bool CParameterApp::m_bEnableTabToolTip
private

在文件 ParameterApp.h 第 66 行定义.

◆ m_bFavoriteEdit

bool CParameterApp::m_bFavoriteEdit
private

在文件 ParameterApp.h 第 134 行定义.

◆ m_bKeepSplitViewWhenFullScreen

bool CParameterApp::m_bKeepSplitViewWhenFullScreen
private

在文件 ParameterApp.h 第 182 行定义.

◆ m_bMenuBar

bool CParameterApp::m_bMenuBar
private

在文件 ParameterApp.h 第 155 行定义.

◆ m_bMessageBoxDisplayInfomation

bool CParameterApp::m_bMessageBoxDisplayInfomation
private

在文件 ParameterApp.h 第 162 行定义.

◆ m_bOpenLasterClose

bool CParameterApp::m_bOpenLasterClose
private

在文件 ParameterApp.h 第 124 行定义.

◆ m_bReceiveShortCut

bool CParameterApp::m_bReceiveShortCut
private

在文件 ParameterApp.h 第 25 行定义.

◆ m_bSaveMainWindowStatus

bool CParameterApp::m_bSaveMainWindowStatus
private

在文件 ParameterApp.h 第 34 行定义.

◆ m_bStartByType

bool CParameterApp::m_bStartByType
readwriteprivate

在文件 ParameterApp.h 第 190 行定义.

◆ m_bStatusBar

bool CParameterApp::m_bStatusBar
private

在文件 ParameterApp.h 第 141 行定义.

◆ m_bTabBar

bool CParameterApp::m_bTabBar
private

在文件 ParameterApp.h 第 148 行定义.

◆ m_bTabElided

bool CParameterApp::m_bTabElided
private

在文件 ParameterApp.h 第 84 行定义.

◆ m_nRecentMenuMaxCount

int CParameterApp::m_nRecentMenuMaxCount
private

在文件 ParameterApp.h 第 92 行定义.

◆ m_SystemTrayIconType

SystemTrayIconMenuType CParameterApp::m_SystemTrayIconType
private

在文件 ParameterApp.h 第 114 行定义.

◆ m_TabPosition

QTabWidget::TabPosition CParameterApp::m_TabPosition
private

在文件 ParameterApp.h 第 57 行定义.

◆ m_ViewType

ViewType CParameterApp::m_ViewType
private

在文件 ParameterApp.h 第 49 行定义.

属性说明

◆ bOpenLasterClose

bool CParameterApp::bOpenLasterClose
readwrite

在文件 ParameterApp.h 第 125 行定义.

◆ EnableTabIcon

bool CParameterApp::EnableTabIcon
readwrite

在文件 ParameterApp.h 第 76 行定义.

◆ EnableTabToolTip

bool CParameterApp::EnableTabToolTip
readwrite

在文件 ParameterApp.h 第 67 行定义.

◆ FavoriteEdit

bool CParameterApp::FavoriteEdit
readwrite

在文件 ParameterApp.h 第 135 行定义.

◆ MenuBar

bool CParameterApp::MenuBar
readwrite

在文件 ParameterApp.h 第 156 行定义.

◆ MessageBoxDisplyInformtion

bool CParameterApp::MessageBoxDisplyInformtion
readwrite

在文件 ParameterApp.h 第 163 行定义.

◆ ReceiveShortCut

bool CParameterApp::ReceiveShortCut
readwrite

在文件 ParameterApp.h 第 26 行定义.

◆ RecentMenuMaxCount

int CParameterApp::RecentMenuMaxCount
readwrite

在文件 ParameterApp.h 第 93 行定义.

◆ SaveMainWindowStatus

bool CParameterApp::SaveMainWindowStatus
readwrite

在文件 ParameterApp.h 第 35 行定义.

◆ StatusBar

bool CParameterApp::StatusBar
readwrite

在文件 ParameterApp.h 第 142 行定义.

◆ SystemTrayIconMenuType

SystemTrayIconMenuType CParameterApp::SystemTrayIconMenuType
readwrite

在文件 ParameterApp.h 第 116 行定义.

◆ TabBar

bool CParameterApp::TabBar
readwrite

在文件 ParameterApp.h 第 149 行定义.

◆ TabPosition

QTabWidget::TabPosition CParameterApp::TabPosition
readwrite

在文件 ParameterApp.h 第 58 行定义.


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