Gazebo Gui

API Reference

7.2.2
gz/gui/Conversions.hh File Reference
#include <gz/common/KeyEvent.hh>
#include <gz/common/MouseEvent.hh>
#include <gz/math/Color.hh>
#include <gz/math/Vector2.hh>
#include <gz/math/Vector3.hh>
#include "gz/gui/qt.h"
#include "gz/gui/Export.hh"

Go to the source code of this file.

Namespaces

 gz
 
 gz::common
 
 gz::gui
 

Functions

QColor convert (const math::Color &_color)
 Return the equivalent Qt color. More...
 
QPointF convert (const math::Vector2d &_pt)
 Return the equivalent QPointF. More...
 
QVector3D convert (const math::Vector3d &_vec)
 Return the equivalent Qt vector 3d. More...
 
math::Color convert (const QColor &_color)
 Return the equivalent Gazebo color. More...
 
common::KeyEvent convert (const QKeyEvent &_e)
 Return the equivalent Gazebo key event. More...
 
common::MouseEvent convert (const QMouseEvent &_e)
 Return the equivalent Gazebo mouse event. More...
 
math::Vector2d convert (const QPointF &_pt)
 Return the equivalent Gazebo vector. More...
 
math::Vector3d convert (const QVector3D &_vec)
 Return the equivalent Gazebo vector 3d. More...
 
common::MouseEvent convert (const QWheelEvent &_e)
 Return the equivalent Gazebo mouse event. More...