17#ifndef GAZEBO_GUI_BUILDING_BUILDINGEDITORPALETTE_HH_
18#define GAZEBO_GUI_BUILDING_BUILDINGEDITORPALETTE_HH_
30 class BuildingEditorPalettePrivate;
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;
gui
Definition KeyEventHandler.hh:29
A palette of building items which can be added to the editor.
Definition BuildingEditorPalette.hh:38
QColorDialog * CustomColorDialog() const
Get a pointer to the custom color dialog.
~BuildingEditorPalette()
Destructor.
std::string GetModelName() const
Get model name.
BuildingEditorPalette(QWidget *_parent=0)
Constructor.
Forward declarations for the common classes.
Definition Animation.hh:27