18 #ifndef _STAIRS_INSPECTOR_DIALOG_HH_
19 #define _STAIRS_INSPECTOR_DIALOG_HH_
48 public: QPointF GetStartPosition()
const;
52 public:
double GetWidth()
const;
56 public:
double GetDepth()
const;
60 public:
double GetHeight()
const;
64 public:
int GetSteps()
const;
68 public: QColor GetColor()
const;
72 public: QString GetTexture()
const;
76 public:
void SetName(
const std::string &_name);
80 public:
void SetStartPosition(
const QPointF &_pos);
84 public:
void SetWidth(
double _width);
88 public:
void SetDepth(
double _depth);
92 public:
void SetHeight(
double _height);
96 public:
void SetSteps(
int _steps);
100 public:
void SetColor(
const QColor _color);
104 public:
void SetTexture(
const QString _texture);
107 Q_SIGNALS:
void Applied();
110 private slots:
void OnCancel();
113 private slots:
void OnApply();
116 private slots:
void OnOK();
120 private: QDoubleSpinBox *startXSpinBox;
124 private: QDoubleSpinBox *startYSpinBox;
127 private: QDoubleSpinBox *widthSpinBox;
130 private: QDoubleSpinBox *depthSpinBox;
133 private: QDoubleSpinBox *heightSpinBox;
136 private: QSpinBox *stepsSpinBox;
139 private: QLabel* stairsNameLabel;
142 private: QComboBox *colorComboBox;
145 private: std::vector<QColor> colorList;
148 private: QComboBox *textureComboBox;
151 private: std::vector<QString> textureList;
Dialog for configuring a staircase item.
Definition: StairsInspectorDialog.hh:35
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48