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 ()
 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 ( QWidget *  _parent = 0)

Constructor.

Parameters
[in]_parentParent QWidget.

Destructor.

Member Function Documentation

void Accepted ( )
signal

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

void Applied ( )
signal

Set the item name.

Parameters
[in]_nameName to set to. Qt signal emitted to indicate that changes should be applied.
virtual void enterEvent ( QEvent *  _event)
protectedvirtual

Qt event emiited when the mouse enters this widget.

Parameters
[in]_eventQt event.
CollisionConfig* GetCollisionConfig ( ) const

Get collision configurations of the link.

Returns
Tab widget with visual configurations.
LinkConfig* GetLinkConfig ( ) const

Get configurations of the link.

Returns
Tab widget with link configurations.
VisualConfig* GetVisualConfig ( ) const

Get visual configurations of the link.

Returns
Tab widget with visual configurations.
std::string Name ( ) const

Get the name of the link.

Returns
Name of the link.
void Open ( )

Open the inspector.

void SetLinkId ( const std::string &  _id)

Set the id for this link.

Parameters
[in]Newlink id.
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: