|
QtCanpool 3.3.0
|
RibbonCustomizeWidget 的对话框封装 更多...
#include <qxribbon/ribboncustomizedialog.h>

Public 成员函数 | |
| RibbonCustomizeDialog (RibbonBar *ribbonBar, QWidget *p=Q_NULLPTR, Qt::WindowFlags f=Qt::WindowFlags()) | |
| void | setupActionsManager (RibbonActionsManager *mgr) |
| bool | apply () |
| void | clear () |
| bool | toXml (QXmlStreamWriter *xml) const |
| bool | toXml (const QString &xmlpath) const |
| void | fromXml (QXmlStreamReader *xml) |
| void | fromXml (const QString &xmlpath) |
Protected 成员函数 | |
| void | showEvent (QShowEvent *e) override |
RibbonCustomizeWidget 的对话框封装
此功能依赖于 RibbonActionsManager ,RibbonActionsManager 建议作为 mianwindow 的成员变量, RibbonActionsManager 可以快速绑定所有 QAction,详细见 RibbonActionsManager 的说明
在文件 ribboncustomizedialog.h 第 29 行定义.
| QxRibbon::RibbonCustomizeDialog::RibbonCustomizeDialog | ( | RibbonBar * | ribbonBar, |
| QWidget * | p = Q_NULLPTR, |
||
| Qt::WindowFlags | f = Qt::WindowFlags() |
||
| ) |
在文件 ribboncustomizedialog.cpp 第 71 行定义.
| bool QxRibbon::RibbonCustomizeDialog::apply | ( | ) |
在文件 ribboncustomizedialog.cpp 第 89 行定义.
| void QxRibbon::RibbonCustomizeDialog::clear | ( | ) |
在文件 ribboncustomizedialog.cpp 第 97 行定义.
| void QxRibbon::RibbonCustomizeDialog::fromXml | ( | const QString & | xmlpath | ) |
在文件 ribboncustomizedialog.cpp 第 117 行定义.
| void QxRibbon::RibbonCustomizeDialog::fromXml | ( | QXmlStreamReader * | xml | ) |
在文件 ribboncustomizedialog.cpp 第 112 行定义.
| void QxRibbon::RibbonCustomizeDialog::setupActionsManager | ( | RibbonActionsManager * | mgr | ) |
在文件 ribboncustomizedialog.cpp 第 84 行定义.
|
overrideprotected |
在文件 ribboncustomizedialog.cpp 第 122 行定义.
| bool QxRibbon::RibbonCustomizeDialog::toXml | ( | const QString & | xmlpath | ) | const |
在文件 ribboncustomizedialog.cpp 第 107 行定义.
| bool QxRibbon::RibbonCustomizeDialog::toXml | ( | QXmlStreamWriter * | xml | ) | const |
在文件 ribboncustomizedialog.cpp 第 102 行定义.