SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::gui::qt::QDisplayLinkInfoWidget Class Reference

#include <LinkWidget.h>

Widget used to display the name of a Link. More...

Inheritance diagram for sofa::gui::qt::QDisplayLinkInfoWidget:

Detailed Description

Widget used to display the name of a Link.

Protected Attributes

core::objectmodel::BaseLinklink
 
unsigned int numLines_
 

Public Member Functions

 QDisplayLinkInfoWidget (QWidget *parent, const std::string &helper, core::objectmodel::BaseLink *l, bool modifiable)
 

Protected Member Functions

void formatHelperString (const std::string &helper, std::string &final_text)
 

Static Protected Member Functions

static unsigned int numLines (const std::string &str)
 

Public Slots

unsigned int getNumLines () const
 

Attribute details

core::objectmodel::BaseLink* sofa::gui::qt::QDisplayLinkInfoWidget::link
protected
unsigned int sofa::gui::qt::QDisplayLinkInfoWidget::numLines_
protected

Constructor details

sofa::gui::qt::QDisplayLinkInfoWidget::QDisplayLinkInfoWidget ( QWidget parent,
const std::string &  helper,
core::objectmodel::BaseLink l,
bool  modifiable 
)

Function details

void sofa::gui::qt::QDisplayLinkInfoWidget::formatHelperString ( const std::string &  helper,
std::string &  final_text 
)
protected
unsigned int sofa::gui::qt::QDisplayLinkInfoWidget::getNumLines ( ) const
inlineslot
unsigned int sofa::gui::qt::QDisplayLinkInfoWidget::numLines ( const std::string &  str)
staticprotected