Stellarium  0.17.0
Signals | Public Member Functions | Protected Member Functions
MapLabel Class Reference

Special QLabel that shows a world map.

#include <MapLabel.hpp>


void positionChanged (double longitude, double latitude)
 Signal emitted when we click on the map.

Public Member Functions

 MapLabel (QWidget *parent=Q_NULLPTR)
void setCursorPos (double longitude, double latitude)
 Set the current cursor position. More...

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *event)

Member Function Documentation

void MapLabel::setCursorPos ( double  longitude,
double  latitude 
longitudelongitude in degree in range [-180;180[
latitudelatitude in degree in range [-90;90]