|
DAWorkbench 0.0.1
DAWorkbench API
|
App的Ribbon区域接口,负责ribbon层的管理和调度 更多...
#include <DAAppRibbonArea.h>
Public 类型 | |
| enum | ContextCategoryType { ContextCategoryData , ContextCategoryWorkflow , ContextCategoryChart , AllContextCategory } |
| 上下文类型 更多... | |
Public 成员函数 | |
| virtual void | retranslateUi () override |
| AppMainWindow * | app () const |
| SARibbonBar * | ribbonBar () const |
| SARibbonCategory * | getRibbonCategoryMain () const |
| mian标签 | |
| void | buildRedoUndo () |
| 通过DACommandInterface构建redo/undo的action | |
| void | updateActionLockBackgroundPixmapCheckStatue (bool c) |
| void | showContextCategory (ContextCategoryType type) |
| 显示上下文(会把其他上下文隐藏) | |
| void | hideContextCategory (ContextCategoryType type) |
| 隐藏上下文 | |
| void | updateFigureAboutRibbon (DAFigureWidget *fig) |
| 更新绘图相关的ribbon | |
| void | updateChartAboutRibbon (DAChartWidget *chart) |
| 更新图表相关的ribbon | |
| void | updateChartGridAboutRibbon (DAChartWidget *chart) |
| 更新Ribbon图表网格相关的界面 | |
| void | updateChartZoomPanAboutRibbon (DAChartWidget *chart) |
| 更新Ribbon图表缩放相关的界面 | |
| void | updateChartPickerAboutRibbon (DAChartWidget *chart) |
| 更新绘图的picker状态 | |
| void | updateChartLegendAboutRibbon (DAChartWidget *chart) |
| 更新绘图的legend状态 | |
| void | updateWorkflowAboutRibbon (DAWorkFlowOperateWidget *wfo) |
| DAAppRibbonArea::updateWorkflowViewAboutRibbon | |
| void | resetText () |
| void | setDataframeOperateCurrentDType (const DAPyDType &d) |
Public 成员函数 继承自 DA::DARibbonAreaInterface | |
| DARibbonAreaInterface (DAUIInterface *u) | |
| 构造函数,必须在主窗口之后构造 | |
| SARibbonBar * | ribbonBar () const |
| 获取ribbonbar | |
| QList< SARibbonCategory * > | getCategorys () const |
| 获取所有标签 | |
| SARibbonCategory * | getCategoryByObjectName (const QString &objname) const |
| 通过obj-name获取Category | |
| SARibbonPanel * | getPannelByObjectName (const QString &objname) const |
| 通过obj-name获取pannel(O(n)) | |
Public 成员函数 继承自 DA::DAUIExtendInterface | |
| DAUIExtendInterface (DAUIInterface *u) | |
| DAUIInterface * | ui () const |
Public 成员函数 继承自 DA::DABaseInterface | |
| DABaseInterface (DACoreInterface *c, QObject *par=nullptr) | |
| DACoreInterface * | core () const |
Protected 成员函数 | |
| void | setDockingArea (DAAppDockingArea *dock) |
| 设置dock区,有些pannel的action是依赖dock界面的,统一在这里设置 | |
友元 | |
| class | AppMainWindow |
| class | DAAppUI |
| class | DAAppController |
App的Ribbon区域接口,负责ribbon层的管理和调度
| void DAAppRibbonArea::buildRedoUndo | ( | ) |
通过DACommandInterface构建redo/undo的action
| cmd |
| SARibbonCategory * DAAppRibbonArea::getRibbonCategoryMain | ( | ) | const |
mian标签
| void DAAppRibbonArea::hideContextCategory | ( | DAAppRibbonArea::ContextCategoryType | type | ) |
隐藏上下文
| type |
|
overridevirtual |
|
protected |
设置dock区,有些pannel的action是依赖dock界面的,统一在这里设置
| dock |
| void DAAppRibbonArea::showContextCategory | ( | DAAppRibbonArea::ContextCategoryType | type | ) |
显示上下文(会把其他上下文隐藏)
| type |
| void DAAppRibbonArea::updateChartAboutRibbon | ( | DAChartWidget * | chart | ) |
更新图表相关的ribbon
| chart |
| void DAAppRibbonArea::updateChartGridAboutRibbon | ( | DAChartWidget * | chart | ) |
更新Ribbon图表网格相关的界面
| chart |
| void DAAppRibbonArea::updateChartLegendAboutRibbon | ( | DAChartWidget * | chart | ) |
更新绘图的legend状态
| chart |
| void DAAppRibbonArea::updateChartPickerAboutRibbon | ( | DAChartWidget * | chart | ) |
更新绘图的picker状态
| chart |
| void DAAppRibbonArea::updateChartZoomPanAboutRibbon | ( | DAChartWidget * | chart | ) |
更新Ribbon图表缩放相关的界面
| chart |
| void DAAppRibbonArea::updateFigureAboutRibbon | ( | DAFigureWidget * | fig | ) |
更新绘图相关的ribbon
| fig |
| void DAAppRibbonArea::updateWorkflowAboutRibbon | ( | DAWorkFlowOperateWidget * | wfo | ) |
DAAppRibbonArea::updateWorkflowViewAboutRibbon
| wf |