10class QXmlStreamWriter;
11class QXmlStreamReader;
15class RibbonActionsManager;
16class RibbonCustomizeDialogUi;
45 bool toXml(QXmlStreamWriter *xml)
const;
46 bool toXml(
const QString &xmlpath)
const;
49 void fromXml(QXmlStreamReader *xml);
50 void fromXml(
const QString &xmlpath);
52 void showEvent(QShowEvent *e)
override;
54 RibbonCustomizeDialogUi *ui;
RibbonBar 继承 QMenuBar, 在 RibbonWindow 中直接替换了原来的 QMenuBar
RibbonCustomizeWidget 的对话框封装
bool QxRibbonCustomizeApplyFromXmlFile(const QString &filePath, RibbonBar *bar, RibbonActionsManager *mgr)
直接加载xml自定义ribbon配置文件用于ribbon的自定义显示
#define Q_NULLPTR
Copyleft (C) 2025 maminjie canpool@163.com SPDX-License-Identifier: MulanPSL-2.0
#define QX_RIBBON_END_NAMESPACE
#define QX_RIBBON_BEGIN_NAMESPACE