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...
 
void ShowCollisions (const bool _show)
 Qt signal emitted to indicate that all collisions should be shown/hidden. More...
 
void ShowLinkFrame (const bool _show)
 Qt signal emitted to indicate that link frame should be shown/hidden. More...
 
void ShowVisuals (const bool _show)
 Qt signal emitted to indicate that all visuals should be shown/hidden. 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...
 
void SetShowCollisions (const bool _show)
 Set the state of show collisions button. More...
 
void SetShowLinkFrame (const bool _show)
 Set the state of show link frame button. More...
 
void SetShowVisuals (const bool _show)
 Set the state of show visuals button. 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

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 Opened ( )
signal

Set the item name.

Parameters
[in]_nameName to set to. Qt signal emitted to indicate that the inspector was opened.
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.
void SetShowCollisions ( const bool  _show)

Set the state of show collisions button.

Parameters
[in]_showIf true, button is checked.
void SetShowLinkFrame ( const bool  _show)

Set the state of show link frame button.

Parameters
[in]_showIf true, button is checked.
void SetShowVisuals ( const bool  _show)

Set the state of show visuals button.

Parameters
[in]_showIf true, button is checked.
void ShowCollisions ( const bool  _show)
signal

Qt signal emitted to indicate that all collisions should be shown/hidden.

Parameters
[in]_showTrue to show.
void ShowLinkFrame ( const bool  _show)
signal

Qt signal emitted to indicate that link frame should be shown/hidden.

Parameters
[in]_showTrue to show.
void ShowVisuals ( const bool  _show)
signal

Qt signal emitted to indicate that all visuals should be shown/hidden.

Parameters
[in]_showTrue to show.

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