Inviwo 0.9.12-pre
Inviwo documentation
|
#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::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::MultiFilePropertyWidgetQt, inviwo::MultiFileStringPropertyWidgetQt, inviwo::OptionPropertyWidgetQt, inviwo::OrdinalLikePropertySettingsWidgetQt< Prop >, inviwo::OrdinalLikePropertySettingsWidgetQt< inviwo::OrdinalProperty< vec3 > >, inviwo::OrdinalLikePropertySettingsWidgetQt< T >, inviwo::OrdinalLikePropertyWidgetQt< Prop, Sem >, inviwo::OrdinalMinMaxPropertyWidgetQt< T >, inviwo::OrdinalMinMaxTextPropertyWidgetQt< BT, T >, inviwo::PropertyWidgetCEF, inviwo::PropertyWidgetDelegate, inviwo::StringMultilinePropertyWidgetQt, inviwo::StringPropertyWidgetQt, inviwo::StringsPropertyWidgetQt< N >, inviwo::TFPrimitiveSetWidgetQt, and inviwo::TFPropertyWidgetQt.