Public Member Functions | Public Attributes | List of all members
gazebo::gui::BaseInspectorDialog Class Reference

Base Dialog for a specific inspector dialog. More...

#include <BaseInspectorDialog.hh>

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

Public Member Functions

 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...
 

Public Attributes

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...
 

Detailed Description

Base Dialog for a specific inspector dialog.

Constructor & Destructor Documentation

gazebo::gui::BaseInspectorDialog::BaseInspectorDialog ( QWidget *  _parent)

Constructor.

Parameters
[in]_parentParent QWidget
gazebo::gui::BaseInspectorDialog::~BaseInspectorDialog ( )

Destructor.

Member Function Documentation

QColor gazebo::gui::BaseInspectorDialog::GetColor ( ) const

Get the color.

Returns
Color.
QString gazebo::gui::BaseInspectorDialog::GetTexture ( ) const

Get the texture.

Returns
Texture.
void gazebo::gui::BaseInspectorDialog::InitColorComboBox ( )

Initiate color combo box.

void gazebo::gui::BaseInspectorDialog::InitTextureComboBox ( )

Initiate texture combo box.

void gazebo::gui::BaseInspectorDialog::SetColor ( const QColor  _color)

Set the color.

Parameters
[in]_colorColor.
void gazebo::gui::BaseInspectorDialog::SetTexture ( const QString  _texture)

Set the texture.

Parameters
[in]_textureTexture.

Member Data Documentation

QComboBox* gazebo::gui::BaseInspectorDialog::colorComboBox

Combo box for selecting the color.

std::vector<QColor> gazebo::gui::BaseInspectorDialog::colorList

Vector of color options.

QComboBox* gazebo::gui::BaseInspectorDialog::textureComboBox

Combo box for selecting the texture.

std::vector<QString> gazebo::gui::BaseInspectorDialog::textureList

Vector of texture options.


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