SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::gui::qt::int_data_widget_trait< T, vmin, vmax > Class Template Reference

#include <SimpleDataWidget.h>

int, unsigned int, char and unsigned char support More...

Inheritance diagram for sofa::gui::qt::int_data_widget_trait< T, vmin, vmax >:

Detailed Description

template<class T, int vmin, int vmax>
class sofa::gui::qt::int_data_widget_trait< T, vmin, vmax >

int, unsigned int, char and unsigned char 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<class T, int vmin, int vmax>
static void sofa::gui::qt::int_data_widget_trait< T, vmin, vmax >::connectChanged ( Widget w,
DataWidget datawidget 
)
inlinestatic
template<class T, int vmin, int vmax>
static Widget* sofa::gui::qt::int_data_widget_trait< T, vmin, vmax >::create ( QWidget parent,
const data_type  
)
inlinestatic
template<class T, int vmin, int vmax>
static void sofa::gui::qt::int_data_widget_trait< T, vmin, vmax >::readFromData ( Widget w,
const data_type d 
)
inlinestatic
template<class T, int vmin, int vmax>
static void sofa::gui::qt::int_data_widget_trait< T, vmin, vmax >::setReadOnly ( Widget w,
bool  readOnly 
)
inlinestatic
template<class T, int vmin, int vmax>
static void sofa::gui::qt::int_data_widget_trait< T, vmin, vmax >::writeToData ( Widget w,
data_type d 
)
inlinestatic