17#ifndef GAZEBO_GUI_BUILDING_BASEINSPECTORDIALOG_HH_
18#define GAZEBO_GUI_BUILDING_BASEINSPECTORDIALOG_HH_
22#include <ignition/math/Color.hh>
32 class BaseInspectorDialogPrivate;
58 public: ignition::math::Color
Color()
const;
66 public:
void SetColor(
const ignition::math::Color &_color);
82 protected slots:
void OnOK();
92 private: std::unique_ptr<BaseInspectorDialogPrivate> dataPtr;
gui
Definition KeyEventHandler.hh:29
Base Dialog for a specific inspector dialog.
Definition BaseInspectorDialog.hh:40
BaseInspectorDialog(QWidget *_parent)
Constructor.
std::string Texture() const
Get the texture.
QComboBox * textureComboBox
Combo box for selecting the texture.
Definition BaseInspectorDialog.hh:88
ignition::math::Color Color() const
Get the color.
void Applied()
Qt signal emitted to indicate that changes should be applied.
void SetTexture(const std::string &_texture)
Set the texture.
void InitColorComboBox()
Initiate color combo box.
void OnCancel()
Qt callback when the Cancel button is pressed.
QComboBox * colorComboBox
Combo box for selecting the color.
Definition BaseInspectorDialog.hh:85
void SetColor(const ignition::math::Color &_color)
Set the color.
void OnApply()
Qt callback when the Apply button is pressed.
void OnOK()
Qt callback when the Ok button is pressed.
void InitTextureComboBox()
Initiate texture combo box.
~BaseInspectorDialog()
Destructor.
Forward declarations for the common classes.
Definition Animation.hh:27