QtCanpool 3.3.0
载入中...
搜索中...
未找到
ribboncustomizewidget_p.h
浏览该文件的文档.
1
5#pragma once
6
7#include "qxribbon_global.h"
9
10#include <QWidget>
11
12class QXmlStreamWriter;
13class QXmlStreamReader;
14
16
17class RibbonBar;
18class RibbonActionsManager;
19
32bool QxRibbonCustomizeDataSetToXml(QXmlStreamWriter *xml, const QList<RibbonCustomizeData> &cds);
33
34QList<RibbonCustomizeData> QxRibbonCustomizeDataGetFromXml(QXmlStreamReader *xml, RibbonActionsManager *mgr);
35
42int QxRibbonCustomizeDataApply(QList<RibbonCustomizeData> &cds, RibbonBar *bar);
43
用于管理 Ribbon 的所有 Action
RibbonBar 继承 QMenuBar, 在 RibbonWindow 中直接替换了原来的 QMenuBar
Definition ribbonbar.h:99
int QxRibbonCustomizeDataApply(QList< RibbonCustomizeData > &cds, RibbonBar *bar)
应用QList<RibbonCustomizeData>
bool QxRibbonCustomizeDataSetToXml(QXmlStreamWriter *xml, const QList< RibbonCustomizeData > &cds, bool force=false)
QList< RibbonCustomizeData > QxRibbonCustomizeDataGetFromXml(QXmlStreamReader *xml, RibbonActionsManager *mgr)
#define QX_RIBBON_END_NAMESPACE
#define QX_RIBBON_BEGIN_NAMESPACE