SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::gui::qt::data_widget_trait< std::string > Class Template Reference

#include <SimpleDataWidget.h>

std::string support More...

Detailed Description

template<>
class sofa::gui::qt::data_widget_trait< std::string >

std::string 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

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