BuildingEditorPalettePrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 
18 #ifndef _BUILDING_EDITOR_PALETTE_PRIVATE_HH_
19 #define _BUILDING_EDITOR_PALETTE_PRIVATE_HH_
20 
21 #include <vector>
22 #include <string>
23 #include "gazebo/common/Events.hh"
24 #include "gazebo/gui/qt.h"
25 
26 namespace gazebo
27 {
28  namespace gui
29  {
33  {
35  public: std::string buildingDefaultName;
36 
38  public: QLineEdit *modelNameEdit;
39 
41  public: QButtonGroup *brushes;
42 
44  public: std::vector<event::ConnectionPtr> connections;
45 
47  public: std::string currentMode;
48 
50  public: std::vector<QColor> colorList;
51 
53  public: std::vector<QString> textureList;
54  };
55  }
56 }
57 
58 #endif
std::vector< QString > textureList
List of default textures to be picked.
Definition: BuildingEditorPalettePrivate.hh:53
std::string currentMode
The current draw mode, empty for none.
Definition: BuildingEditorPalettePrivate.hh:47
QLineEdit * modelNameEdit
Edit the name of the building model.
Definition: BuildingEditorPalettePrivate.hh:38
std::vector< QColor > colorList
List of default colors to be picked.
Definition: BuildingEditorPalettePrivate.hh:50
std::vector< event::ConnectionPtr > connections
A list of gui editor events connected to this palette.
Definition: BuildingEditorPalettePrivate.hh:44
std::string buildingDefaultName
Default name of the building model.
Definition: BuildingEditorPalettePrivate.hh:35
QButtonGroup * brushes
All the brushes (wall, door, window, stair, etc).
Definition: BuildingEditorPalettePrivate.hh:41
Definition: BuildingEditorPalettePrivate.hh:32