![]() |
SARibbon 2.5.2
SARibbon wiki
|
#include <SARibbonCustomizeDialog.h>
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 | |
| SARibbonCustomizeWidget * | customizeWidget () const |
| Return the SARibbonCustomizeWidget pointer | |
| SARibbonCustomizeDialog::~SARibbonCustomizeDialog | ( | ) |
Destructor for SARibbonCustomizeDialog
| bool SARibbonCustomizeDialog::applys | ( | ) |
Apply all settings
| void SARibbonCustomizeDialog::clear | ( | ) |
Clear all actions
| SARibbonCustomizeWidget * SARibbonCustomizeDialog::customizeWidget | ( | ) | const |
Return the SARibbonCustomizeWidget pointer
| void SARibbonCustomizeDialog::fromXml | ( | const QString & | xmlpath | ) |
Load from XML file
| void SARibbonCustomizeDialog::fromXml | ( | QXmlStreamReader * | xml | ) |
Load from XML, for file-based settings, it is recommended to call this function before the dialog is displayed
| bool SARibbonCustomizeDialog::isApplied | ( | ) | const |
Check if there is content to store, corresponding to save action
| bool SARibbonCustomizeDialog::isCached | ( | ) | const |
Check if there are modified contents, corresponding to apply action
| bool SARibbonCustomizeDialog::toXml | ( | const QString & | xmlpath | ) | const |
Convert to XML file
| bool SARibbonCustomizeDialog::toXml | ( | QXmlStreamWriter * | xml | ) | const |
Convert to XML