SOFA API  014b24ea
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

template<typename T>
static void sofa::gui::qt::real_data_widget_trait< T >::connectChanged ( Widget w,
DataWidget datawidget 
)
inlinestatic
template<typename T>
static Widget* sofa::gui::qt::real_data_widget_trait< T >::create ( QWidget parent,
const data_type  
)
inlinestatic
template<typename T>
static void sofa::gui::qt::real_data_widget_trait< T >::readFromData ( Widget w,
const data_type d 
)
inlinestatic
template<typename T>
static void sofa::gui::qt::real_data_widget_trait< T >::setReadOnly ( Widget w,
bool  readOnly 
)
inlinestatic
template<typename T>
static void sofa::gui::qt::real_data_widget_trait< T >::writeToData ( Widget w,
data_type d 
)
inlinestatic