17 #ifndef GAZEBO_GUI_BUILDING_BUILDINGEDITORPALETTE_HH_
18 #define GAZEBO_GUI_BUILDING_BUILDINGEDITORPALETTE_HH_
30 class BuildingEditorPalettePrivate;
50 public: std::string GetModelName()
const;
54 public: QColorDialog *CustomColorDialog()
const;
58 private slots:
void OnBrush(
int _buttonId);
62 private slots:
void OnNameChanged(
const QString &_name);
66 private slots:
void OnCustomColor(
const QColor _color);
69 private slots:
void CancelDrawModes();
74 private:
void OnSaveModel(
const std::string &_saveName);
78 private:
void OnCreateEditorItem(
const std::string &_mode);
81 private:
void OnNewModel();
85 private:
void mousePressEvent(QMouseEvent *_event);
88 private:
void OnDrawWall();
91 private:
void OnAddWindow();
94 private:
void OnAddDoor();
97 private:
void OnAddStair();
101 private:
void OnDefaultColor(
int _colorId);
104 private:
void OnCustomColorDialog();
108 private:
void OnColor(QColor _color);
112 private:
void OnTexture(
int _textureId);
115 private:
void OnImportImage();
119 private: BuildingEditorPalettePrivate *dataPtr;
A palette of building items which can be added to the editor.
Definition: BuildingEditorPalette.hh:37