Inviwo  0.9.10.1
Inviwo documentation
inviwo::OrdinalPropertyWidgetCEF< T > Class Template Reference

#include <ordinalpropertywidgetcef.h>

+ Inheritance diagram for inviwo::OrdinalPropertyWidgetCEF< T >:

Public Member Functions

 OrdinalPropertyWidgetCEF (OrdinalProperty< T > *property, CefRefPtr< CefFrame > frame=nullptr, std::string htmlId="")
 
virtual ~OrdinalPropertyWidgetCEF ()=default
 
virtual void updateFromProperty () override
 

Detailed Description

template<typename T>
class inviwo::OrdinalPropertyWidgetCEF< T >

Widget for synchronizing HTML elements:

<input type="range">
<input type="number">

Constructor & Destructor Documentation

◆ OrdinalPropertyWidgetCEF()

template<typename T >
inviwo::OrdinalPropertyWidgetCEF< T >::OrdinalPropertyWidgetCEF ( OrdinalProperty< T > *  property,
CefRefPtr< CefFrame >  frame = nullptr,
std::string  htmlId = "" 
)

The PropertyWidget will register it self with the property.

◆ ~OrdinalPropertyWidgetCEF()

template<typename T >
virtual inviwo::OrdinalPropertyWidgetCEF< T >::~OrdinalPropertyWidgetCEF ( )
virtualdefault

The PropertyWidget will deregister it self with the property.

Member Function Documentation

◆ updateFromProperty()

template<typename T >
void inviwo::OrdinalPropertyWidgetCEF< T >::updateFromProperty ( )
overridevirtual

Update HTML widget using calls javascript oninput() function on element. Assumes that widget is HTML input attribute.


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