SARibbon 2.2.3
SARibbon wiki
载入中...
搜索中...
未找到
SARibbonElementFactory类 参考

SARibbon的子元素创建的工厂,SARibbon内部创建子元素都通过SARibbonElementFactory来创建 更多...

#include <SARibbonElementFactory.h>

Public 成员函数

virtual SARibbonTabBarcreateRibbonTabBar (QWidget *parent)
 
virtual SARibbonApplicationButtoncreateRibbonApplicationButton (QWidget *parent)
 
virtual SARibbonCategorycreateRibbonCategory (QWidget *parent)
 
virtual SARibbonContextCategorycreateRibbonContextCategory (QWidget *parent)
 
virtual SARibbonPannelcreateRibbonPannel (QWidget *parent)
 
virtual SARibbonSeparatorWidgetcreateRibbonSeparatorWidget (QWidget *parent)
 
virtual SARibbonGallerycreateRibbonGallery (QWidget *parent)
 
virtual SARibbonGalleryGroupcreateRibbonGalleryGroup (QWidget *parent)
 
virtual SARibbonToolButtoncreateRibbonToolButton (QWidget *parent)
 
virtual SARibbonControlButtoncreateRibbonControlButton (QWidget *parent)
 
virtual SARibbonControlToolButtoncreateRibbonControlToolButton (QWidget *parent)
 
virtual SARibbonStackedWidgetcreateRibbonStackedWidget (SARibbonBar *parent)
 
virtual SARibbonButtonGroupWidgetcraeteButtonGroupWidget (QWidget *parent)
 
virtual SARibbonQuickAccessBarcreateQuickAccessBar (QWidget *parent)
 
virtual SARibbonSystemButtonBarcreateWindowButtonGroup (QWidget *parent)
 
virtual SARibbonPannelOptionButtoncreateRibbonPannelOptionButton (SARibbonPannel *pannel)
 创建SARibbonPannelOptionButton
 

详细描述

SARibbon的子元素创建的工厂,SARibbon内部创建子元素都通过SARibbonElementFactory来创建

由于SARibbonBar是一个复合控件,很多子窗口组合而成,有些部件的创建如果想继承,那么就需要这个工厂类来处理 如SARibbonCategory,可以重载此类的createRibbonCategory,返回重载的类的实例

成员函数说明

◆ createRibbonPannelOptionButton()

SARibbonPannelOptionButton * SARibbonElementFactory::createRibbonPannelOptionButton ( SARibbonPannel * pannel)
virtual

创建SARibbonPannelOptionButton

参数
pannel附属的pannel
返回
参见
SARibbonPannelOptionButton

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