|
SHAPER
9.15.0
|
Interface to WidgetCreator which can create specific widgets by type. More...

Public Member Functions | |
| SamplePanelPlugin_WidgetCreator () | |
| Default constructor. More... | |
| ~SamplePanelPlugin_WidgetCreator () | |
| Virtual destructor. More... | |
| virtual void | panelTypes (std::set< std::string > &theTypes) |
| Returns a container of possible page types, which this creator can process. More... | |
| virtual QWidget * | createPanelByType (const std::string &theType, QWidget *theParent, const FeaturePtr &theFeature) |
| Create panel control by its type. 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.
| SamplePanelPlugin_WidgetCreator::SamplePanelPlugin_WidgetCreator | ( | ) |
Default constructor.
|
inline |
Virtual destructor.
|
virtual |
Returns a container of possible page types, which this creator can process.
| theTypes | a list of type names |
Reimplemented from ModuleBase_IWidgetCreator.
|
virtual |
Create panel control by its type.
| theType | a panel type |
| theParent | a parent widget |
| theFeature | a feature to fill the panel |
|
inlinevirtualinherited |
Returns a container of possible page types, which this creator can process The default implementation is empty.
| theTypes | a list of type names |
|
inlinevirtualinherited |
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.
|
virtualinherited |
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 |
|
virtualinherited |
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 |
|
virtualinherited |
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.