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

LinkInspector ( QWidget *  _parent = 0)
explicit

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.

◆ SetShowCollisions()

void SetShowCollisions ( const bool  _show)

Set the state of show collisions button.

Parameters
[in]_showIf true, button is checked.

◆ SetShowLinkFrame()

void SetShowLinkFrame ( const bool  _show)

Set the state of show link frame button.

Parameters
[in]_showIf true, button is checked.

◆ SetShowVisuals()

void SetShowVisuals ( const bool  _show)

Set the state of show visuals button.

Parameters
[in]_showIf true, button is checked.

◆ ShowCollisions

void ShowCollisions ( const bool  _show)
signal

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

Parameters
[in]_showTrue to show.

◆ ShowLinkFrame

void ShowLinkFrame ( const bool  _show)
signal

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

Parameters
[in]_showTrue to show.

◆ ShowVisuals

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: