Home · All Namespaces · All Classes · Functions · Coding Style · Plugins · File Structure

MapLabel Class Reference

Special QLabel that shows a world map. More...

#include <MapLabel.hpp>

List of all members.


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.

longitude longitude in degree in range [-180;180[
latitude latitude in degree in range [-90;90]

void MapLabel::positionChanged ( double  longitude,
double  latitude 
) [signal]

Signal emitted when we click on the map.

Generated on Mon Feb 2 17:23:48 2009 for Stellarium by  doxygen 1.5.5