Mantid
|
PropertyWidgetFactory : TODO: DESCRIPTION. More...
#include <PropertyWidgetFactory.h>
Public Member Functions | |
PropertyWidgetFactory () | |
Constructor. More... | |
virtual | ~PropertyWidgetFactory () |
Destructor. More... | |
Static Public Member Functions | |
static PropertyWidget * | createWidget (Mantid::Kernel::Property *prop, QWidget *parent=nullptr, QGridLayout *layout=nullptr, int row=-1) |
Create the appropriate PropertyWidget for the given Property. More... | |
PropertyWidgetFactory : TODO: DESCRIPTION.
Definition at line 27 of file PropertyWidgetFactory.h.
|
default |
Constructor.
|
virtualdefault |
Destructor.
|
static |
Create the appropriate PropertyWidget for the given Property.
prop | :: property for the widget |
parent | :: parent widget |
layout | :: QGridLayout of the parent, in the case of the GenericDialog |
row | :: row in the above QGridLayout, if specified |
Definition at line 41 of file PropertyWidgetFactory.cpp.
References Mantid::Kernel::Property::allowedValues(), and Mantid::Kernel::Property::isMultipleSelectionAllowed().
Referenced by MantidQt::API::AlgorithmPropertiesWidget::hideOrDisableProperties(), and MantidQt::API::AlgorithmPropertiesWidget::initLayout().