Public Types | Signals | Public Member Functions | List of all members
gazebo::gui::WindowDoorInspectorDialog Class Reference

#include <WindowDoorInspectorDialog.hh>

Inheritance diagram for gazebo::gui::WindowDoorInspectorDialog:
Inheritance graph
[legend]

Public Types

enum  mode { WINDOW, DOOR }
 Dialog modes. More...
 

Signals

void Applied ()
 Qt signal emitted to indicate that changes should be applied. More...
 

Public Member Functions

 WindowDoorInspectorDialog (int _mode=WINDOW, QWidget *_parent=0)
 Constructor. More...
 
 ~WindowDoorInspectorDialog ()
 Destructor. More...
 
double GetDepth () const
 Get the item depth. More...
 
double GetElevation () const
 Get the item elevation. More...
 
double GetHeight () const
 Get the item height. More...
 
QPointF GetPosition () const
 Get the item position. More...
 
std::string GetType () const
 Get the item type. More...
 
double GetWidth () const
 Get the item width. More...
 
void SetDepth (double _depth)
 Set the item depth. More...
 
void SetElevation (double _elevation)
 Set the item elevation. More...
 
void SetHeight (double _height)
 Set the item height. More...
 
void SetName (const std::string &_name)
 Set the item name. More...
 
void SetPosition (const QPointF &_pos)
 Set the item scene position. More...
 
void SetType (const std::string &_type)
 Set the item type. More...
 
void SetWidth (double _width)
 Set the item width. More...
 
- Public Member Functions inherited from gazebo::gui::BaseInspectorDialog
 BaseInspectorDialog (QWidget *_parent)
 Constructor. More...
 
 ~BaseInspectorDialog ()
 Destructor. More...
 
QColor GetColor () const
 Get the color. More...
 
QString GetTexture () const
 Get the texture. More...
 
void InitColorComboBox ()
 Initiate color combo box. More...
 
void InitTextureComboBox ()
 Initiate texture combo box. More...
 
void SetColor (const QColor _color)
 Set the color. More...
 
void SetTexture (const QString _texture)
 Set the texture. More...
 

Additional Inherited Members

- Public Attributes inherited from gazebo::gui::BaseInspectorDialog
QComboBox * colorComboBox
 Combo box for selecting the color. More...
 
std::vector< QColor > colorList
 Vector of color options. More...
 
QComboBox * textureComboBox
 Combo box for selecting the texture. More...
 
std::vector< QString > textureList
 Vector of texture options. More...
 

Member Enumeration Documentation

Dialog modes.

Enumerator
WINDOW 
DOOR 

Constructor & Destructor Documentation

gazebo::gui::WindowDoorInspectorDialog::WindowDoorInspectorDialog ( int  _mode = WINDOW,
QWidget *  _parent = 0 
)

Constructor.

Parameters
[in]_modeDialog mode
[in]_parentParent QWidget.
gazebo::gui::WindowDoorInspectorDialog::~WindowDoorInspectorDialog ( )

Destructor.

Member Function Documentation

void gazebo::gui::WindowDoorInspectorDialog::Applied ( )
signal

Qt signal emitted to indicate that changes should be applied.

double gazebo::gui::WindowDoorInspectorDialog::GetDepth ( ) const

Get the item depth.

Returns
Depth in pixels.
double gazebo::gui::WindowDoorInspectorDialog::GetElevation ( ) const

Get the item elevation.

Returns
Item elevation in pixels.
double gazebo::gui::WindowDoorInspectorDialog::GetHeight ( ) const

Get the item height.

Returns
Height in pixels.
QPointF gazebo::gui::WindowDoorInspectorDialog::GetPosition ( ) const

Get the item position.

Returns
Item position in pixel coordinates.
std::string gazebo::gui::WindowDoorInspectorDialog::GetType ( ) const

Get the item type.

Returns
Item type.
double gazebo::gui::WindowDoorInspectorDialog::GetWidth ( ) const

Get the item width.

Returns
Width in pixels.
void gazebo::gui::WindowDoorInspectorDialog::SetDepth ( double  _depth)

Set the item depth.

Parameters
[in]_depthDepth in pixels.
void gazebo::gui::WindowDoorInspectorDialog::SetElevation ( double  _elevation)

Set the item elevation.

Parameters
[in]_elevationItem elevation in pixels.
void gazebo::gui::WindowDoorInspectorDialog::SetHeight ( double  _height)

Set the item height.

Parameters
[in]_heightHeight in pixels.
void gazebo::gui::WindowDoorInspectorDialog::SetName ( const std::string &  _name)

Set the item name.

Parameters
[in]_nameName to set to.
void gazebo::gui::WindowDoorInspectorDialog::SetPosition ( const QPointF &  _pos)

Set the item scene position.

Parameters
[in]_posPosition in pixel coordinates.
void gazebo::gui::WindowDoorInspectorDialog::SetType ( const std::string &  _type)

Set the item type.

Parameters
[in]_typeItem type.
void gazebo::gui::WindowDoorInspectorDialog::SetWidth ( double  _width)

Set the item width.

Parameters
[in]_widthWidth in pixels.

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