Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed problem with too many executions of extrusion wit hexternal sketch edges
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetFactory.h
diff --git
a/src/ModuleBase/ModuleBase_WidgetFactory.h
b/src/ModuleBase/ModuleBase_WidgetFactory.h
index 5d55add4f742182a508abd27acfcf98d0e204e5b..43b8208b6596d3912f436ea914ded46e337e8ab5 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetFactory.h
+++ b/
src/ModuleBase/ModuleBase_WidgetFactory.h
@@
-21,8
+21,9
@@
class ModuleBase_IWorkshop;
class MODULEBASE_EXPORT ModuleBase_WidgetFactory
{
class MODULEBASE_EXPORT ModuleBase_WidgetFactory
{
-public:
- ModuleBase_WidgetFactory(const std::string& theXmlRepresentation, ModuleBase_IWorkshop* theWorkshop);
+ public:
+ ModuleBase_WidgetFactory(const std::string& theXmlRepresentation,
+ ModuleBase_IWorkshop* theWorkshop);
virtual ~ModuleBase_WidgetFactory();
void createWidget(QWidget* theParent);
virtual ~ModuleBase_WidgetFactory();
void createWidget(QWidget* theParent);
@@
-32,25
+33,34
@@
public:
return myModelWidgets;
}
return myModelWidgets;
}
-protected:
+
protected:
//Widgets
QWidget* createWidgetByType(const std::string& theType, QWidget* theParent = NULL);
//Widgets
QWidget* createWidgetByType(const std::string& theType, QWidget* theParent = NULL);
+ QWidget* createContainer(const std::string& theType, QWidget* theParent = NULL);
QWidget* labelControl(QWidget* theParent);
QWidget* doubleSpinBoxControl(QWidget* theParent);
QWidget* pointSelectorControl(QWidget* theParent);
QWidget* featureSelectorControl(QWidget* theParent);
QWidget* labelControl(QWidget* theParent);
QWidget* doubleSpinBoxControl(QWidget* theParent);
QWidget* pointSelectorControl(QWidget* theParent);
QWidget* featureSelectorControl(QWidget* theParent);
- QWidget* createContainer(const std::string& theType, QWidget* theParent = NULL);
- QWidget* selectorControl(QWidget* theParent);
+ QWidget* featureOrAttributeSelectorControl(QWidget* theParent);
+ QWidget* doubleValueEditor(QWidget* theParent);
+ QWidget* shapeSelectorControl(QWidget* theParent);
QWidget* booleanControl(QWidget* theParent);
QWidget* point2dDistanceControl(QWidget* theParent);
QWidget* booleanControl(QWidget* theParent);
QWidget* point2dDistanceControl(QWidget* theParent);
+ QWidget* fileSelectorControl(QWidget* theParent);
+ QWidget* choiceControl(QWidget* theParent);
+ QWidget* lineEditControl(QWidget* theParent);
+ QWidget* multiSelectorControl(QWidget* theParent);
+
QString qs(const std::string& theStdString) const;
QString qs(const std::string& theStdString) const;
+ void processAttributes();
-private:
+
private:
Config_WidgetAPI* myWidgetApi;
Config_WidgetAPI* myWidgetApi;
- ModuleBase_IWorkshop*
myWorkshop;
+ ModuleBase_IWorkshop* myWorkshop;
QList<ModuleBase_ModelWidget*> myModelWidgets;
QList<ModuleBase_ModelWidget*> myModelWidgets;
+ std::string myParentId;
};
#endif /* ModuleBase_WidgetFactory_H_ */
};
#endif /* ModuleBase_WidgetFactory_H_ */