18 #ifndef _STAIRS_INSPECTOR_DIALOG_HH_
19 #define _STAIRS_INSPECTOR_DIALOG_HH_
50 public: QPointF GetStartPosition()
const;
54 public:
double GetWidth()
const;
58 public:
double GetDepth()
const;
62 public:
double GetHeight()
const;
66 public:
int GetSteps()
const;
70 public:
void SetName(
const std::string &_name);
74 public:
void SetStartPosition(
const QPointF &_pos);
78 public:
void SetWidth(
double _width);
82 public:
void SetDepth(
double _depth);
86 public:
void SetHeight(
double _height);
90 public:
void SetSteps(
int _steps);
93 Q_SIGNALS:
void Applied();
96 private slots:
void OnCancel();
99 private slots:
void OnApply();
102 private slots:
void OnOK();
106 private: QDoubleSpinBox *startXSpinBox;
110 private: QDoubleSpinBox *startYSpinBox;
113 private: QDoubleSpinBox *widthSpinBox;
116 private: QDoubleSpinBox *depthSpinBox;
119 private: QDoubleSpinBox *heightSpinBox;
122 private: QSpinBox *stepsSpinBox;
125 private: QLabel* stairsNameLabel;
Base Dialog for a specific inspector dialog.
Definition: BaseInspectorDialog.hh:35
Dialog for configuring a staircase item.
Definition: StairsInspectorDialog.hh:36
#define GZ_GUI_BUILDING_VISIBLE
Definition: system.hh:393