#include <propertywidget.h>
Public Member Functions | |
PropertyWidget (Property *property) | |
PropertyWidget (const PropertyWidget &) | |
PropertyWidget (PropertyWidget &&) | |
PropertyWidget & | operator= (const PropertyWidget &) |
PropertyWidget & | operator= (PropertyWidget &&) |
virtual | ~PropertyWidget () |
virtual void | updateFromProperty ()=0 |
virtual PropertyEditorWidget * | getEditorWidget () const |
virtual bool | hasEditorWidget () const |
virtual Property * | getProperty () |
Protected Attributes | |
Property * | property_ = nullptr |
A PropertyWidget is a graphical representation of a Property. A widget will get updateFromProperty call to update its representation when ever the property changes and should update the property when ever the user modifies the widget.
inviwo::PropertyWidget::PropertyWidget | ( | Property * | property | ) |
The PropertyWidget will register it self with the property.
|
virtual |
The PropertyWidget will deregister it self with the property.
|
pure virtual |
Implement this function to update the widget after the property has been modified.
Implemented in inviwo::AnglePropertyWidgetQt< T >, inviwo::AnglePropertyWidgetQt< double >, inviwo::AnglePropertyWidgetQt< double >, inviwo::AnglePropertyWidgetQt< float >, inviwo::AnglePropertyWidgetQt< float >, inviwo::BoolCompositePropertyWidgetQt, inviwo::BoolPropertyWidgetQt, inviwo::ButtonPropertyWidgetQt, inviwo::CollapsibleGroupBoxWidgetQt, inviwo::ColorPropertyWidgetQt< T >, inviwo::EventPropertyWidgetQt, inviwo::FilePropertyWidgetQt, inviwo::FontSizePropertyWidgetQt, inviwo::glui::BoolPropertyWidget, inviwo::glui::ButtonPropertyWidget, inviwo::glui::DoubleMinMaxPropertyWidget, inviwo::glui::FloatMinMaxPropertyWidget, inviwo::glui::FloatPropertyWidget, inviwo::glui::IntMinMaxPropertyWidget, inviwo::glui::IntPropertyWidget, inviwo::glui::ToolButtonPropertyWidget, inviwo::ImageEditorWidgetQt, inviwo::IsoTFPropertyWidgetQt, inviwo::IsoValuePropertyWidgetQt, inviwo::LightPropertyWidgetQt, inviwo::ListPropertyWidgetQt, inviwo::MinMaxPropertySettingsWidgetQt< T >, inviwo::MinMaxPropertyWidgetCEF< T >, inviwo::MinMaxPropertyWidgetCEF< double >, inviwo::MinMaxPropertyWidgetCEF< double >, inviwo::MinMaxPropertyWidgetCEF< float >, inviwo::MinMaxPropertyWidgetCEF< float >, inviwo::MinMaxPropertyWidgetCEF< int >, inviwo::MinMaxPropertyWidgetCEF< int >, inviwo::MinMaxPropertyWidgetCEF< size_t >, inviwo::MinMaxPropertyWidgetCEF< size_t >, inviwo::MultiFilePropertyWidgetQt, inviwo::MultiFileStringPropertyWidgetQt, inviwo::OptionPropertyWidgetQt, inviwo::OrdinalLikePropertySettingsWidgetQt< Prop >, inviwo::OrdinalLikePropertySettingsWidgetQt< inviwo::OrdinalProperty< vec3 > >, inviwo::OrdinalLikePropertySettingsWidgetQt< OrdinalProperty< T > >, inviwo::OrdinalLikePropertySettingsWidgetQt< OrdinalProperty< T > >, inviwo::OrdinalLikePropertySettingsWidgetQt< OrdinalRefProperty< T > >, inviwo::OrdinalLikePropertySettingsWidgetQt< OrdinalRefProperty< T > >, inviwo::OrdinalLikePropertyWidgetQt< Prop, Sem >, inviwo::OrdinalLikePropertyWidgetQt< OrdinalProperty< T >, Sem >, inviwo::OrdinalLikePropertyWidgetQt< OrdinalProperty< T >, Sem >, inviwo::OrdinalLikePropertyWidgetQt< OrdinalRefProperty< T >, Sem >, inviwo::OrdinalLikePropertyWidgetQt< OrdinalRefProperty< T >, Sem >, inviwo::OrdinalMinMaxPropertyWidgetQt< T >, inviwo::OrdinalMinMaxPropertyWidgetQt< double >, inviwo::OrdinalMinMaxPropertyWidgetQt< double >, inviwo::OrdinalMinMaxPropertyWidgetQt< float >, inviwo::OrdinalMinMaxPropertyWidgetQt< float >, inviwo::OrdinalMinMaxPropertyWidgetQt< int >, inviwo::OrdinalMinMaxPropertyWidgetQt< int >, inviwo::OrdinalMinMaxPropertyWidgetQt< size_t >, inviwo::OrdinalMinMaxPropertyWidgetQt< size_t >, inviwo::OrdinalMinMaxTextPropertyWidgetQt< BT, T >, inviwo::OrdinalMinMaxTextPropertyWidgetQt< double, double >, inviwo::OrdinalMinMaxTextPropertyWidgetQt< double, double >, inviwo::OrdinalMinMaxTextPropertyWidgetQt< double, float >, inviwo::OrdinalMinMaxTextPropertyWidgetQt< double, float >, inviwo::OrdinalMinMaxTextPropertyWidgetQt< int, int >, inviwo::OrdinalMinMaxTextPropertyWidgetQt< int, int >, inviwo::OrdinalMinMaxTextPropertyWidgetQt< int, size_t >, inviwo::OrdinalMinMaxTextPropertyWidgetQt< int, size_t >, inviwo::PropertyWidgetCEF, inviwo::PropertyWidgetDelegate, inviwo::StringMultilinePropertyWidgetQt, inviwo::StringPropertyWidgetQt, inviwo::StringsPropertyWidgetQt< N >, inviwo::TFPrimitiveSetWidgetQt, and inviwo::TFPropertyWidgetQt.