Stellarium 0.11.1
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure
Signals | Public Member Functions | Protected Member Functions
MapLabel Class Reference

#include <MapLabel.hpp>

List of all members.

Signals

void positionChanged (double longitude, double latitude)

Public Member Functions

 MapLabel (QWidget *parent=0)
void setCursorPos (double longitude, double latitude)

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *event)

Detailed Description

Special QLabel that shows a world map.


Member Function Documentation

void MapLabel::setCursorPos ( double  longitude,
double  latitude 
)

Set the current cursor position.

Parameters:
longitudelongitude in degree in range [-180;180[
latitudelatitude in degree in range [-90;90]