DAWorkbench 0.0.1
DAWorkbench API
载入中...
搜索中...
未找到
DA::DAAppRibbonArea类 参考

App的Ribbon区域接口,负责ribbon层的管理和调度 更多...

#include <DAAppRibbonArea.h>

类 DA::DAAppRibbonArea 继承关系图:
DA::DARibbonAreaInterface DA::DAUIExtendInterface DA::DABaseInterface

Public 类型

enum  ContextCategoryType { ContextCategoryData , ContextCategoryWorkflow , ContextCategoryChart , AllContextCategory }
 上下文类型 更多...
 

Public 成员函数

virtual void retranslateUi () override
 
AppMainWindowapp () 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)
 
DAUIInterfaceui () const
 
- Public 成员函数 继承自 DA::DABaseInterface
 DABaseInterface (DACoreInterface *c, QObject *par=nullptr)
 
DACoreInterfacecore () const
 

Protected 成员函数

void setDockingArea (DAAppDockingArea *dock)
 设置dock区,有些pannel的action是依赖dock界面的,统一在这里设置
 

友元

class AppMainWindow
 
class DAAppUI
 
class DAAppController
 

详细描述

App的Ribbon区域接口,负责ribbon层的管理和调度

标签的固定objectname
主页标签:da-ribbon-category-main
通用pannel:da-ribbon-pannel-main.common
数据操作pannel:da-pannel-main.data-opt
绘图操作pannel:da-pannel-main.chart-opt
工作流pannel:da-pannel-main.workflow
设置pannel:da-pannel-main.setting
数据标签:da-ribbon-category-data
数据操作pannel:da-pannel-data.data-opt
数据文件夹操作pannel:da-pannel-data.folder-opt
视图标签:da-ribbon-category-view
视图pannel:da-pannel-view.main
编辑标签:da-ribbon-category-edit
工作流编辑pannel:da-pannel-edit.workflow
绘图标签:da-ribbon-category-figure
绘图编辑:da-pannel-figure.fig_setting
添加绘图:da-pannel-figure.chart-add
工作流编辑上下文标签:da-ribbon-contextcategory-workflow
工作流视图category:da-ribbon-category-workflow.view
视图pannel:da-pannel-context.workflow.view
导出pannel:da-pannel-context.workflow.export
工作流编辑category:da-ribbon-category-workflow.edit
条目pannel:da-pannel-context.workflow.item
文本pannel:da-pannel-context.workflow.text
背景pannel:da-pannel-context.workflow.background
分组pannel:da-pannel-context.workflow.group
工作流运行category:da-ribbon-category-workflow.run
运行pannel:da-pannel-context.workflow.run
DataFrame上下文标签:da-ribbon-contextcategory-dataframe
DataFrame操作category:da-ribbon-category-dataframe.operate
坐标设置pannel:da-pannel-dataframe.operate.axes
类型设置pannel:da-pannel-dataframe.operate.type
Chart上下文标签:da-ribbon-contextcategory-chart
Chart编辑category:da-ribbon-category-chart.edit
绘图窗口设置pannel:da-pannel-context-chartedit.fig_setting
图表设置pannel:da-pannel-context-chartedit.chart_setting

成员枚举类型说明

◆ ContextCategoryType

上下文类型

枚举值
ContextCategoryData 

Data相关的上下文

ContextCategoryWorkflow 

Workflow相关的上下文

ContextCategoryChart 

Chart相关的上下文

AllContextCategory 

这个代表所有的上下文

成员函数说明

◆ buildRedoUndo()

void DAAppRibbonArea::buildRedoUndo ( )

通过DACommandInterface构建redo/undo的action

参数
cmd

◆ getRibbonCategoryMain()

SARibbonCategory * DAAppRibbonArea::getRibbonCategoryMain ( ) const

mian标签

返回

◆ hideContextCategory()

void DAAppRibbonArea::hideContextCategory ( DAAppRibbonArea::ContextCategoryType  type)

隐藏上下文

参数
type

◆ retranslateUi()

void DAAppRibbonArea::retranslateUi ( )
overridevirtual

◆ setDockingArea()

void DAAppRibbonArea::setDockingArea ( DAAppDockingArea dock)
protected

设置dock区,有些pannel的action是依赖dock界面的,统一在这里设置

参数
dock

◆ showContextCategory()

void DAAppRibbonArea::showContextCategory ( DAAppRibbonArea::ContextCategoryType  type)

显示上下文(会把其他上下文隐藏)

参数
type

◆ updateChartAboutRibbon()

void DAAppRibbonArea::updateChartAboutRibbon ( DAChartWidget chart)

更新图表相关的ribbon

参数
chart

◆ updateChartGridAboutRibbon()

void DAAppRibbonArea::updateChartGridAboutRibbon ( DAChartWidget chart)

更新Ribbon图表网格相关的界面

参数
chart

◆ updateChartLegendAboutRibbon()

void DAAppRibbonArea::updateChartLegendAboutRibbon ( DAChartWidget chart)

更新绘图的legend状态

参数
chart

◆ updateChartPickerAboutRibbon()

void DAAppRibbonArea::updateChartPickerAboutRibbon ( DAChartWidget chart)

更新绘图的picker状态

参数
chart

◆ updateChartZoomPanAboutRibbon()

void DAAppRibbonArea::updateChartZoomPanAboutRibbon ( DAChartWidget chart)

更新Ribbon图表缩放相关的界面

参数
chart

◆ updateFigureAboutRibbon()

void DAAppRibbonArea::updateFigureAboutRibbon ( DAFigureWidget fig)

更新绘图相关的ribbon

参数
fig

◆ updateWorkflowAboutRibbon()

void DAAppRibbonArea::updateWorkflowAboutRibbon ( DAWorkFlowOperateWidget wfo)

DAAppRibbonArea::updateWorkflowViewAboutRibbon

参数
wf

该类的文档由以下文件生成: