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