SHAPER
9.13.0
|
Interface to WidgetCreator which can create specific widgets by type. More...
Public Member Functions | |
ModuleBase_IWidgetCreator () | |
Default constructor. More... | |
~ModuleBase_IWidgetCreator () | |
Virtual destructor. More... | |
virtual void | panelTypes (std::set< std::string > &) |
Returns a container of possible page types, which this creator can process The default implementation is empty. More... | |
virtual void | pageTypes (std::set< std::string > &theTypes) |
Returns a container of possible page types, which this creator can process The default implementation is empty. More... | |
virtual void | widgetTypes (std::set< std::string > &theTypes) |
Returns a container of possible widget types, which this creator can process. More... | |
virtual QWidget * | createPanelByType (const std::string &theType, QWidget *theParent, const FeaturePtr &theFeature, Config_WidgetAPI *theWidgetApi=0) |
Create panel control by its type. More... | |
virtual ModuleBase_PageBase * | createPageByType (const std::string &theType, QWidget *theParent, Config_WidgetAPI *theWidgetApi) |
Create page by its type The default implementation is empty. More... | |
virtual ModuleBase_ModelWidget * | createWidgetByType (const std::string &theType, QWidget *theParent, Config_WidgetAPI *theWidgetApi, ModuleBase_IWorkshop *theWorkshop) |
Create widget by its type The default implementation is empty. More... | |
Interface to WidgetCreator which can create specific widgets by type.
ModuleBase_IWidgetCreator::ModuleBase_IWidgetCreator | ( | ) |
Default constructor.
ModuleBase_IWidgetCreator::~ModuleBase_IWidgetCreator | ( | ) |
Virtual destructor.
|
inlinevirtual |
Returns a container of possible page types, which this creator can process The default implementation is empty.
theTypes | a list of type names |
Reimplemented in SamplePanelPlugin_WidgetCreator.
|
inlinevirtual |
Returns a container of possible page types, which this creator can process The default implementation is empty.
theTypes | a list of type names |
|
inlinevirtual |
Returns a container of possible widget types, which this creator can process.
theTypes | a list of type names |
Reimplemented in SamplePanelPlugin_ModelWidgetCreator, ParametersPlugin_WidgetCreator, and CollectionPlugin_WidgetCreator.
|
virtual |
Create panel control by its type.
The default implementation is empty
theType | a panel type |
theParent | a parent widget |
theFeature | a feature modified in the panel |
theWidgetApi | a low-level API for reading xml definitions of widget |
|
virtual |
Create page by its type The default implementation is empty.
theType | a type |
theParent | a parent widget |
theWidgetApi | a low-level API for reading xml definitions of widgets |
|
virtual |
Create widget by its type The default implementation is empty.
theType | a type |
theParent | a parent widget |
theWidgetApi | a low-level API for reading xml definitions of widgets |
theWorkshop | a workshop class instance |
Reimplemented in ParametersPlugin_WidgetCreator, SamplePanelPlugin_ModelWidgetCreator, and CollectionPlugin_WidgetCreator.