47 #ifndef _MIRA_PROPERTYEDITORDELEGATEUTILS_H_ 48 #define _MIRA_PROPERTYEDITORDELEGATEUTILS_H_ 68 QIcon
composeIcon(
const QIcon& left,
const QIcon& right);
Abstract base class for all derived property node classes.
Definition: PropertyNode.h:212
QWidget * wrappedWidget
Definition: PropertyEditorDelegateUtils.h:150
boost::shared_ptr< Delegate > DelegatePtr
Definition: PropertyEditor.h:83
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
#define MIRA_LOG(level)
Use this macro to log data.
Definition: LoggingCore.h:529
QRadioButton * hasValueIndicator
Definition: PropertyEditorDelegateUtils.h:147
Definition: PropertyEditorDelegateUtils.h:73
QPushButton * setNoneButton
Definition: PropertyEditorDelegateUtils.h:148
QIcon composeIcon(const QIcon &left, const QIcon &right)
virtual PropertyEditor::DelegatePtr clone() const =0
Serializer that handles properties and creates PropertyNodes.
virtual ~IPropertyDelegate_Edit()=default
virtual void wrap(PropertyEditor::DelegatePtr d)=0
void initFromProperty() override
const PropertyNode * propertyNode() const
Definition: PropertyEditorDelegateUtils.h:88
Definition: PropertyEditorDelegateUtils.h:117
Definition: PropertyEditorDelegateUtils.h:134
IPropertyDelegate_Edit * edit
Definition: PropertyEditorDelegateUtils.h:149
Definition: LoggingCore.h:76
virtual void propertyEdited()=0
void propertyEdited() override
Declaration of PropertyEditor.
QIcon drawBinaryIndicator(bool value, QStyle::PrimitiveElement element)
PropertyDelegate_OptionalEditor(PropertyNode *p, QWidget *wrapped, QWidget *parent)
IPropertyDelegate_Edit(PropertyNode *p)
Definition: PropertyEditorDelegateUtils.h:76
void setPropertyFromString(const std::string &s)
virtual void set(const value_type &value, const Duration &timeout=Duration::milliseconds(100))=0
Sets the property to the specified value.
json::Value JSONValue
Imports the json::Value type into mira namespace.
Definition: JSON.h:361
virtual ~IPropertyDelegateWrapper()=default
Abstract base class for all typed property nodes.
Definition: PropertyNode.h:72
virtual void initFromProperty()=0
void setPropertyFromJSON(const JSONValue &v)
void setPropertyFromValue(TypedPropertyNode< T > *p, const T &v)
Definition: PropertyEditorDelegateUtils.h:100