SARibbon 2.5.2
SARibbon wiki
载入中...
搜索中...
未找到
SARibbonCustomizeDialog类 参考

#include <SARibbonCustomizeDialog.h>

类 SARibbonCustomizeDialog 继承关系图:

Public 成员函数

 SARibbonCustomizeDialog (SARibbonMainWindow *ribbonWindow, QWidget *p=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 Constructor for SARibbonCustomizeDialog
 
 ~SARibbonCustomizeDialog ()
 Destructor for SARibbonCustomizeDialog
 
void setupActionsManager (SARibbonActionsManager *mgr)
 Set the action manager
 
bool isApplied () const
 Check if there is content to store, corresponding to save action
 
bool isCached () const
 Check if there are modified contents, corresponding to apply action
 
bool applys ()
 Apply all settings
 
void clear ()
 Clear all actions
 
bool toXml (QXmlStreamWriter *xml) const
 Convert to XML
 
bool toXml (const QString &xmlpath) const
 Convert to XML file
 
void fromXml (QXmlStreamReader *xml)
 Load from XML, for file-based settings, it is recommended to call this function before the dialog is displayed
 
void fromXml (const QString &xmlpath)
 Load from XML file
 
SARibbonCustomizeWidgetcustomizeWidget () const
 Return the SARibbonCustomizeWidget pointer
 

详细描述

构造及析构函数说明

◆ ~SARibbonCustomizeDialog()

SARibbonCustomizeDialog::~SARibbonCustomizeDialog ( )

Destructor for SARibbonCustomizeDialog

成员函数说明

◆ applys()

bool SARibbonCustomizeDialog::applys ( )

Apply all settings

◆ clear()

void SARibbonCustomizeDialog::clear ( )

Clear all actions

◆ customizeWidget()

SARibbonCustomizeWidget * SARibbonCustomizeDialog::customizeWidget ( ) const

Return the SARibbonCustomizeWidget pointer

◆ fromXml() [1/2]

void SARibbonCustomizeDialog::fromXml ( const QString &  xmlpath)

Load from XML file

◆ fromXml() [2/2]

void SARibbonCustomizeDialog::fromXml ( QXmlStreamReader *  xml)

Load from XML, for file-based settings, it is recommended to call this function before the dialog is displayed

◆ isApplied()

bool SARibbonCustomizeDialog::isApplied ( ) const

Check if there is content to store, corresponding to save action

◆ isCached()

bool SARibbonCustomizeDialog::isCached ( ) const

Check if there are modified contents, corresponding to apply action

◆ toXml() [1/2]

bool SARibbonCustomizeDialog::toXml ( const QString &  xmlpath) const

Convert to XML file

◆ toXml() [2/2]

bool SARibbonCustomizeDialog::toXml ( QXmlStreamWriter *  xml) const

Convert to XML


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