SOFA API  ca665544
Open source framework for multi-physics simuation
sofa::gui::qt::real_data_widget_trait< T > Class Template Reference

#include <SimpleDataWidget.h>

float and double support More...

Inheritance diagram for sofa::gui::qt::real_data_widget_trait< T >:

Detailed Description

template<typename T>
class sofa::gui::qt::real_data_widget_trait< T >

float and double support

Static Public Member Functions

static Widgetcreate (QWidget *parent, const data_type &)
 
static void readFromData (Widget *w, const data_type &d)
 
static void writeToData (Widget *w, data_type &d)
 
static void setReadOnly (Widget *w, bool readOnly)
 
static void connectChanged (Widget *w, DataWidget *datawidget)
 

Function details

◆ connectChanged()

template<typename T >
static void sofa::gui::qt::real_data_widget_trait< T >::connectChanged ( Widget w,
DataWidget datawidget 
)
inlinestatic

◆ create()

template<typename T >
static Widget* sofa::gui::qt::real_data_widget_trait< T >::create ( QWidget parent,
const data_type  
)
inlinestatic

◆ readFromData()

template<typename T >
static void sofa::gui::qt::real_data_widget_trait< T >::readFromData ( Widget w,
const data_type d 
)
inlinestatic

◆ setReadOnly()

template<typename T >
static void sofa::gui::qt::real_data_widget_trait< T >::setReadOnly ( Widget w,
bool  readOnly 
)
inlinestatic

◆ writeToData()

template<typename T >
static void sofa::gui::qt::real_data_widget_trait< T >::writeToData ( Widget w,
data_type d 
)
inlinestatic