40 QObject(), mEnabled(true), mAdvanced(false), mGroup(
"")
46 for(
int i=0; i<properties.size(); ++i)
static PropertyPtr findProperty(std::vector< PropertyPtr > properties, QString id)
virtual bool setEnabled(bool enabled)
Set the enabled/disabled state of the Property.
virtual bool setGroup(QString name)
Flag the adapter as part of a group.
boost::shared_ptr< class Property > PropertyPtr
virtual bool getEnabled() const
Get the enabled/disabled state of the Property.
void changed()
emit when the underlying data value is changed: The user interface will be updated.
virtual bool getAdvanced() const
Get the advanced flag of the adapter.
bool compare(T1 const &lhs, T2 const &rhs)
virtual QString getGroup() const
Flag the adapter as part of a group.
virtual bool setAdvanced(bool advanced)
Set the advanced flag of the adapter.
Namespace for all CustusX production code.