Stellarium 0.11.4 | |||
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
Special QLabel that shows a world map. More...
#include <MapLabel.hpp>
Signals | |
void | positionChanged (double longitude, double latitude) |
Signal emitted when we click on the map. | |
Public Member Functions | |
MapLabel (QWidget *parent=0) | |
void | setCursorPos (double longitude, double latitude) |
Set the current cursor position. | |
Protected Member Functions | |
virtual void | mousePressEvent (QMouseEvent *event) |
Special QLabel that shows a world map.
void MapLabel::positionChanged | ( | double | longitude, | |
double | latitude | |||
) | [signal] |
Signal emitted when we click on the map.
void MapLabel::setCursorPos | ( | double | longitude, | |
double | latitude | |||
) |
Set the current cursor position.
longitude | longitude in degree in range [-180;180[ | |
latitude | latitude in degree in range [-90;90] |