#include <SimpleDataWidget.h>
|
| SelectableItemWidget (QWidget *parent, const char *name, core::BaseData *m_data, const helper::BaseSelectableItem *item) |
|
bool | createWidgets () override |
|
void | setDataReadOnly (bool readOnly) override |
| This method is called after createWidgets to configure whether the created widgets should be read-only. More...
|
|
| TDataWidget (QWidget *parent, const char *name, core::objectmodel::BaseData *d, const helper::BaseSelectableItem *object) |
|
| TDataWidget (QWidget *parent, const char *name, MyTData *d) |
|
sofa::core::objectmodel::Data< helper::BaseSelectableItem > * | getData () |
|
const sofa::core::objectmodel::Data< helper::BaseSelectableItem > * | getData () const |
|
virtual void | setData (MyTData *d) |
|
virtual void | setData (MyData *d) |
|
| DataWidget (QWidget *parent, const char *name, MyData *d) |
|
| ~DataWidget () override |
|
virtual void | setData (MyData *d) |
|
const core::objectmodel::BaseData * | getBaseData () const |
| BaseData pointer accessor function. More...
|
|
core::objectmodel::BaseData * | getBaseData () |
|
void | updateVisibility () |
|
bool | isDirty () |
|
bool | isFilled () |
| return if DataWidget as been filled More...
|
|
void | setFilled (bool value) |
| method to warn if Data has not been filled at constructor. More...
|
|
virtual unsigned int | sizeWidget () |
| Helper method to give a size. More...
|
|
virtual unsigned int | numColumnWidget () |
| Helper method for column. More...
|
|
|
void | readFromData () override |
| The implementation of this method tells how the widget reads the value of the data. More...
|
|
void | writeToData () override |
|
◆ m_buttonList
QButtonGroup* sofa::gui::qt::SelectableItemWidget::m_buttonList { nullptr } |
|
protected |
◆ m_buttonMode
bool sofa::gui::qt::SelectableItemWidget::m_buttonMode { false } |
|
protected |
◆ m_comboList
QComboBox* sofa::gui::qt::SelectableItemWidget::m_comboList { nullptr } |
|
protected |
◆ m_selectableItem
◆ SelectableItemWidget()
◆ createWidgets()
bool sofa::gui::qt::SelectableItemWidget::createWidgets |
( |
| ) |
|
|
overridevirtual |
The implementation of this method holds the widget creation and the signal / slot connections.
Implements sofa::gui::qt::DataWidget.
◆ readFromData()
void sofa::gui::qt::SelectableItemWidget::readFromData |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ setDataReadOnly()
void sofa::gui::qt::SelectableItemWidget::setDataReadOnly |
( |
bool |
readOnly | ) |
|
|
overridevirtual |
This method is called after createWidgets to configure whether the created widgets should be read-only.
Implements sofa::gui::qt::DataWidget.
◆ writeToData()
void sofa::gui::qt::SelectableItemWidget::writeToData |
( |
| ) |
|
|
overrideprotectedvirtual |
The implementation of this methods needs to tell how the widget can write its value in the data
Implements sofa::gui::qt::DataWidget.