Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::PropertyWidget Class Referenceabstract

#include <propertywidget.h>

+ Inheritance diagram for inviwo::PropertyWidget:

Public Member Functions

 PropertyWidget (Property *property)
 
 PropertyWidget (const PropertyWidget &)
 
 PropertyWidget (PropertyWidget &&)
 
PropertyWidgetoperator= (const PropertyWidget &)
 
PropertyWidgetoperator= (PropertyWidget &&)
 
virtual ~PropertyWidget ()
 
virtual void updateFromProperty ()=0
 
virtual PropertyEditorWidgetgetEditorWidget () const
 
virtual bool hasEditorWidget () const
 
virtual PropertygetProperty ()
 

Protected Attributes

Propertyproperty_ = nullptr
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ PropertyWidget()

inviwo::PropertyWidget::PropertyWidget ( Property * property)

The PropertyWidget will register it self with the property.

◆ ~PropertyWidget()

virtual inviwo::PropertyWidget::~PropertyWidget ( )
virtual

The PropertyWidget will deregister it self with the property.

Member Function Documentation

◆ updateFromProperty()

virtual void inviwo::PropertyWidget::updateFromProperty ( )
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.


The documentation for this class was generated from the following file: