LevelInspectorDialog.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012 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 #ifndef _GAZEBO_GUI_BUILDING_LEVELINSPECTORDIALOG_HH_
18 #define _GAZEBO_GUI_BUILDING_LEVELINSPECTORDIALOG_HH_
19 
20 #include <memory>
21 #include <string>
22 
23 #include "gazebo/gui/qt.h"
25 
26 #include "gazebo/util/system.hh"
27 
28 namespace gazebo
29 {
30  namespace gui
31  {
32  // Forward declare private data.
33  class LevelInspectorDialogPrivate;
34 
37 
40  class GZ_GUI_VISIBLE LevelInspectorDialog
41  : public BaseInspectorDialog
42  {
43  Q_OBJECT
44 
47  public: LevelInspectorDialog(QWidget *_parent = 0);
48 
50  public: ~LevelInspectorDialog();
51 
54  public: std::string LevelName() const;
55 
58  public: double Height() const;
59 
62  public: void SetLevelName(const std::string &_levelName);
63 
66  public: void SetHeight(const double _height);
67 
70  public: void ShowFloorWidget(const bool _show);
71 
74  private: std::unique_ptr<LevelInspectorDialogPrivate> dataPtr;
75  };
77  }
78 }
79 #endif
Base Dialog for a specific inspector dialog.
Definition: BaseInspectorDialog.hh:43
Dialog for configuring a building level.
Definition: LevelInspectorDialog.hh:40