Signals | Public Member Functions | Protected Slots | Protected 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]

Signals

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

Public Member Functions

 BaseInspectorDialog (QWidget *_parent)
 Constructor. More...
 
 ~BaseInspectorDialog ()
 Destructor. More...
 
common::Color Color () const
 Get the color. More...
 
void InitColorComboBox ()
 Initiate color combo box. More...
 
void InitTextureComboBox ()
 Initiate texture combo box. More...
 
void SetColor (const common::Color &_color)
 Set the color. More...
 
void SetTexture (const std::string &_texture)
 Set the texture. More...
 
std::string Texture () const
 Get the texture. More...
 

Protected Slots

void OnApply ()
 Qt callback when the Apply button is pressed. More...
 
void OnCancel ()
 Qt callback when the Cancel button is pressed. More...
 
void OnOK ()
 Qt callback when the Ok button is pressed. More...
 

Protected Attributes

QComboBox * colorComboBox
 Combo box for selecting the color. More...
 
QComboBox * textureComboBox
 Combo box for selecting the texture. 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

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

Qt signal emitted to indicate that changes should be applied.

common::Color gazebo::gui::BaseInspectorDialog::Color ( ) const

Get the color.

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

Initiate color combo box.

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

Initiate texture combo box.

void gazebo::gui::BaseInspectorDialog::OnApply ( )
protectedslot

Qt callback when the Apply button is pressed.

void gazebo::gui::BaseInspectorDialog::OnCancel ( )
protectedslot

Qt callback when the Cancel button is pressed.

void gazebo::gui::BaseInspectorDialog::OnOK ( )
protectedslot

Qt callback when the Ok button is pressed.

void gazebo::gui::BaseInspectorDialog::SetColor ( const common::Color _color)

Set the color.

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

Set the texture.

Parameters
[in]_textureTexture.
std::string gazebo::gui::BaseInspectorDialog::Texture ( ) const

Get the texture.

Returns
Texture.

Member Data Documentation

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

Combo box for selecting the color.

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

Combo box for selecting the texture.


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