SOFA API  ca665544
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

◆ check

template<class T , int N = struct_data_trait<T>::NVAR>
QCheckBox* sofa::gui::qt::struct_data_widget_container< T, N >::check

◆ container_layout

template<class T , int N = struct_data_trait<T>::NVAR>
Layout* sofa::gui::qt::struct_data_widget_container< T, N >::container_layout

◆ label

template<class T , int N = struct_data_trait<T>::NVAR>
QLabel* sofa::gui::qt::struct_data_widget_container< T, N >::label

◆ master_layout

template<class T , int N = struct_data_trait<T>::NVAR>
MasterLayout* sofa::gui::qt::struct_data_widget_container< T, N >::master_layout

◆ p

template<class T , int N = struct_data_trait<T>::NVAR>
PrevContainer sofa::gui::qt::struct_data_widget_container< T, N >::p

◆ w

template<class T , int N = struct_data_trait<T>::NVAR>
Container sofa::gui::qt::struct_data_widget_container< T, N >::w

Constructor details

◆ struct_data_widget_container()

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

◆ createLayout() [1/2]

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

◆ createLayout() [2/2]

template<class T , int N = struct_data_trait<T>::NVAR>
bool sofa::gui::qt::struct_data_widget_container< T, N >::createLayout ( QLayout *  layout)
inline

◆ createWidgets()

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

◆ insertWidgets()

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

◆ readConstantsFromData()

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

◆ readFromData()

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

◆ setMasterLayout()

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

◆ setReadOnly()

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

◆ writeToData()

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