##

ToolsWidget.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_TOOLSWIDGET_HH_
#define GAZEBO_GUI_TOOLSWIDGET_HH_
#include <vector>
#include <string>
#include "gazebo/common/Event.hh"
#include "gazebo/gui/qt.h"
#include "gazebo/util/system.hh"
namespace gazebo
{
namespace gui
{
class JointControlWidget;
class GZ_GUI_VISIBLE ToolsWidget : public QWidget
{
Q_OBJECT
public: explicit ToolsWidget(QWidget *_parent = 0);
public: virtual ~ToolsWidget();
private: void OnSetSelectedEntity(const std::string &_name,
const std::string &_mode);
private: QTabWidget *tabWidget;
private: JointControlWidget *jointControlWidget;
private: std::vector<event::ConnectionPtr> connections;
};
}
}
#endif
gazebo
Forward declarations for the common classes.
Definition: Animation.hh:26
qt.h
gazebo::gui::ToolsWidget
A widget that manages all the tools on the right side of the render widget.
Definition: ToolsWidget.hh:39
gazebo::gui::JointControlWidget
Widget to control joints via application of force, position PID controller, or velocity PID controlle...
Definition: JointControlWidget.hh:49
system.hh
gazebo::gui::ToolsWidget::~ToolsWidget
virtual ~ToolsWidget()
Destructor.
gazebo::gui::ToolsWidget::ToolsWidget
ToolsWidget(QWidget *_parent=0)
Constructor.
gui
gui
Definition: KeyEventHandler.hh:29
Event.hh