SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::gui::qt::QLinkSimpleEdit Class Reference

#include <QDisplayLinkWidget.h>

Inheritance diagram for sofa::gui::qt::QLinkSimpleEdit:

Protected Attributes

QSimpleEdit innerWidget_
 

Public Member Functions

 QLinkSimpleEdit (QWidget *, const char *name, core::objectmodel::BaseLink *)
 
unsigned int numColumnWidget () override
 Helper method for colum. More...
 
unsigned int sizeWidget () override
 Helper method to give a size. More...
 
bool createWidgets () override
 

Protected Member Functions

void readFromLink () override
 The implementation of this method tells how the widget reads the value of the link. More...
 
void writeToLink () override
 

Additional Inherited Members

Attribute details

QSimpleEdit sofa::gui::qt::QLinkSimpleEdit::innerWidget_
protected

Constructor details

sofa::gui::qt::QLinkSimpleEdit::QLinkSimpleEdit ( QWidget parent,
const char *  name,
core::objectmodel::BaseLink link 
)

Function details

bool sofa::gui::qt::QLinkSimpleEdit::createWidgets ( )
overridevirtual

The implementation of this method holds the widget creation and the signal / slot connections.

Implements sofa::gui::qt::LinkWidget.

unsigned int sofa::gui::qt::QLinkSimpleEdit::numColumnWidget ( )
inlineoverridevirtual

Helper method for colum.

Reimplemented from sofa::gui::qt::LinkWidget.

void sofa::gui::qt::QLinkSimpleEdit::readFromLink ( )
overrideprotectedvirtual

The implementation of this method tells how the widget reads the value of the link.

Implements sofa::gui::qt::LinkWidget.

unsigned int sofa::gui::qt::QLinkSimpleEdit::sizeWidget ( )
inlineoverridevirtual

Helper method to give a size.

Reimplemented from sofa::gui::qt::LinkWidget.

void sofa::gui::qt::QLinkSimpleEdit::writeToLink ( )
overrideprotectedvirtual

The implementation of this methods needs to tell how the widget can write its value in the link

Implements sofa::gui::qt::LinkWidget.