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

#include <StructDataWidget.h>

Inheritance diagram for sofa::gui::qt::struct_data_widget_container< T, N >:

Public Attributes

PrevContainer p
 
Container w
 
QCheckBox * check
 
QLabel * label
 
Layoutcontainer_layout
 
MasterLayoutmaster_layout
 

Public Member Functions

 struct_data_widget_container ()
 
void setMasterLayout (MasterLayout *layout)
 
bool createLayout (DataWidget *parent)
 
bool createLayout (QLayout *layout)
 
void insertWidgets ()
 
bool createWidgets (DataWidget *parent, const data_type &d, bool readOnly)
 
void setReadOnly (bool readOnly)
 
void readFromData (const data_type &d)
 
void readConstantsFromData (const data_type &d)
 
void writeToData (data_type &d)
 

Attribute details

template<class T, int N = struct_data_trait<T>::NVAR>
QCheckBox* sofa::gui::qt::struct_data_widget_container< T, N >::check
template<class T, int N = struct_data_trait<T>::NVAR>
Layout* sofa::gui::qt::struct_data_widget_container< T, N >::container_layout
template<class T, int N = struct_data_trait<T>::NVAR>
QLabel* sofa::gui::qt::struct_data_widget_container< T, N >::label
template<class T, int N = struct_data_trait<T>::NVAR>
MasterLayout* sofa::gui::qt::struct_data_widget_container< T, N >::master_layout
template<class T, int N = struct_data_trait<T>::NVAR>
PrevContainer sofa::gui::qt::struct_data_widget_container< T, N >::p
template<class T, int N = struct_data_trait<T>::NVAR>
Container sofa::gui::qt::struct_data_widget_container< T, N >::w

Constructor details

template<class T, int N = struct_data_trait<T>::NVAR>
sofa::gui::qt::struct_data_widget_container< T, N >::struct_data_widget_container ( )
inline

Function details

template<class T, int N = struct_data_trait<T>::NVAR>
bool sofa::gui::qt::struct_data_widget_container< T, N >::createLayout ( DataWidget parent)
inline
template<class T, int N = struct_data_trait<T>::NVAR>
bool sofa::gui::qt::struct_data_widget_container< T, N >::createLayout ( QLayout *  layout)
inline
template<class T, int N = struct_data_trait<T>::NVAR>
bool sofa::gui::qt::struct_data_widget_container< T, N >::createWidgets ( DataWidget parent,
const data_type d,
bool  readOnly 
)
inline
template<class T, int N = struct_data_trait<T>::NVAR>
void sofa::gui::qt::struct_data_widget_container< T, N >::insertWidgets ( )
inline
template<class T, int N = struct_data_trait<T>::NVAR>
void sofa::gui::qt::struct_data_widget_container< T, N >::readConstantsFromData ( const data_type d)
inline
template<class T, int N = struct_data_trait<T>::NVAR>
void sofa::gui::qt::struct_data_widget_container< T, N >::readFromData ( const data_type d)
inline
template<class T, int N = struct_data_trait<T>::NVAR>
void sofa::gui::qt::struct_data_widget_container< T, N >::setMasterLayout ( MasterLayout layout)
inline
template<class T, int N = struct_data_trait<T>::NVAR>
void sofa::gui::qt::struct_data_widget_container< T, N >::setReadOnly ( bool  readOnly)
inline
template<class T, int N = struct_data_trait<T>::NVAR>
void sofa::gui::qt::struct_data_widget_container< T, N >::writeToData ( data_type d)
inline