LinkInspector Class Reference

#include <LinkInspector.hh>

Inherits QDialog.

Signals

void Accepted ()
 Qt signal emitted to indicate that changes should be applied and the inspector closed. More...
 
void Applied ()
 Qt signal emitted to indicate that changes should be applied. More...
 
void Opened ()
 Set the item name. More...
 

Public Member Functions

 LinkInspector (QWidget *_parent=0)
 Constructor. More...
 
 ~LinkInspector ()
 Destructor. More...
 
CollisionConfigGetCollisionConfig () const
 Get collision configurations of the link. More...
 
LinkConfigGetLinkConfig () const
 Get configurations of the link. More...
 
VisualConfigGetVisualConfig () const
 Get visual configurations of the link. More...
 
std::string Name () const
 Get the name of the link. More...
 
void Open ()
 Open the inspector. More...
 
void SetLinkId (const std::string &_id)
 Set the id for this link. More...
 
void SetName (const std::string &_name)
 Set the name of the link. More...
 

Protected Member Functions

virtual void enterEvent (QEvent *_event)
 Qt event emiited when the mouse enters this widget. More...
 

Constructor & Destructor Documentation

§ LinkInspector()

LinkInspector ( QWidget *  _parent = 0)

Constructor.

Parameters
[in]_parentParent QWidget.

§ ~LinkInspector()

Destructor.

Member Function Documentation

§ Accepted

void Accepted ( )
signal

Qt signal emitted to indicate that changes should be applied and the inspector closed.

§ Applied

void Applied ( )
signal

Qt signal emitted to indicate that changes should be applied.

§ enterEvent()

virtual void enterEvent ( QEvent *  _event)
protectedvirtual

Qt event emiited when the mouse enters this widget.

Parameters
[in]_eventQt event.

§ GetCollisionConfig()

CollisionConfig* GetCollisionConfig ( ) const

Get collision configurations of the link.

Returns
Tab widget with visual configurations.

§ GetLinkConfig()

LinkConfig* GetLinkConfig ( ) const

Get configurations of the link.

Returns
Tab widget with link configurations.

§ GetVisualConfig()

VisualConfig* GetVisualConfig ( ) const

Get visual configurations of the link.

Returns
Tab widget with visual configurations.

§ Name()

std::string Name ( ) const

Get the name of the link.

Returns
Name of the link.

§ Open()

void Open ( )

Open the inspector.

§ Opened

void Opened ( )
signal

Set the item name.

Parameters
[in]_nameName to set to. Qt signal emitted to indicate that the inspector was opened.

§ SetLinkId()

void SetLinkId ( const std::string &  _id)

Set the id for this link.

Parameters
[in]Newlink id.

§ SetName()

void SetName ( const std::string &  _name)

Set the name of the link.

Parameters
[in]Nameto set the link to.

The documentation for this class was generated from the following file: