##

LevelInspectorDialog.hh
Go to the documentation of this file.
/*
* Copyright (C) 2012 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef _GAZEBO_GUI_BUILDING_LEVELINSPECTORDIALOG_HH_
#define _GAZEBO_GUI_BUILDING_LEVELINSPECTORDIALOG_HH_
#include <memory>
#include <string>
#include "gazebo/gui/qt.h"
#include "gazebo/gui/building/BaseInspectorDialog.hh"
#include "gazebo/util/system.hh"
namespace gazebo
{
namespace gui
{
// Forward declare private data.
class LevelInspectorDialogPrivate;
class GZ_GUI_VISIBLE LevelInspectorDialog
: public BaseInspectorDialog
{
Q_OBJECT
public: explicit LevelInspectorDialog(QWidget *_parent = 0);
public: ~LevelInspectorDialog();
public: std::string LevelName() const;
public: double Height() const;
public: void SetLevelName(const std::string &_levelName);
public: void SetHeight(const double _height);
public: void ShowFloorWidget(const bool _show);
private: std::unique_ptr<LevelInspectorDialogPrivate> dataPtr;
};
}
}
#endif
gazebo
Forward declarations for the common classes.
Definition: Animation.hh:26
qt.h
gazebo::gui::LevelInspectorDialog::SetLevelName
void SetLevelName(const std::string &_levelName)
Set the name of the level.
gazebo::gui::LevelInspectorDialog::LevelInspectorDialog
LevelInspectorDialog(QWidget *_parent=0)
Constructor.
gazebo::gui::LevelInspectorDialog
Dialog for configuring a building level.
Definition: LevelInspectorDialog.hh:40
system.hh
gazebo::gui::BaseInspectorDialog
Base Dialog for a specific inspector dialog.
Definition: BaseInspectorDialog.hh:39
gazebo::gui::LevelInspectorDialog::Height
double Height() const
Get the height of the level.
gazebo::gui::LevelInspectorDialog::SetHeight
void SetHeight(const double _height)
Set the height of the level.
gui
gui
Definition: KeyEventHandler.hh:29
gazebo::gui::LevelInspectorDialog::ShowFloorWidget
void ShowFloorWidget(const bool _show)
Show or hide the floor widget.
gazebo::gui::LevelInspectorDialog::~LevelInspectorDialog
~LevelInspectorDialog()
Destructor.
gazebo::gui::LevelInspectorDialog::LevelName
std::string LevelName() const
Get the name of the level.
BaseInspectorDialog.hh