Inviwo
0.9.10.1
Inviwo documentation
|
#include <propertywidget.h>
Public Member Functions | |
PropertyWidget (Property *property) | |
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::TemplateMinMaxPropertySettingsWidgetQt< T >, inviwo::ImageEditorWidgetQt, inviwo::OrdinalPropertyWidgetQt< T >, inviwo::PropertyWidgetCEF, inviwo::CollapsibleGroupBoxWidgetQt, inviwo::OrdinalMinMaxPropertyWidgetQt< T >, inviwo::glui::ToolButtonPropertyWidget, inviwo::TemplatePropertySettingsWidgetQt< T >, inviwo::MinMaxPropertyWidgetCEF< T >, inviwo::ColorPropertyWidgetQt< T >, inviwo::TFPrimitiveSetWidgetQt, inviwo::glui::ButtonPropertyWidget, inviwo::glui::FloatMinMaxPropertyWidget, inviwo::glui::FloatPropertyWidget, inviwo::glui::IntMinMaxPropertyWidget, inviwo::glui::IntPropertyWidget, inviwo::ListPropertyWidgetQt, inviwo::OrdinalMinMaxTextPropertyWidgetQt< BT, T >, inviwo::glui::BoolPropertyWidget, inviwo::AnglePropertyWidgetQt< T >, inviwo::glui::DoubleMinMaxPropertyWidget, inviwo::MultiFilePropertyWidgetQt, inviwo::StringMultilinePropertyWidgetQt, inviwo::EventPropertyWidgetQt, inviwo::TFPropertyWidgetQt, inviwo::FilePropertyWidgetQt, inviwo::IsoValuePropertyWidgetQt, inviwo::StringPropertyWidgetQt, inviwo::BoolPropertyWidgetQt, inviwo::IsoTFPropertyWidgetQt, inviwo::LightPropertyWidgetQt, inviwo::FontSizePropertyWidgetQt, inviwo::OptionPropertyWidgetQt, and inviwo::ButtonPropertyWidgetQt.