![]() |
Stellarium
0.21.3
|
#include <MapLabel.hpp>
Signals | |
| 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... | |
| void | setPixmap (const QPixmap &pixmap) |
| void | resizePixmap () |
Protected Member Functions | |
| void | mousePressEvent (QMouseEvent *event) Q_DECL_OVERRIDE |
| void | resizeEvent (QResizeEvent *event) Q_DECL_OVERRIDE |
Special QLabel that shows a world map
| void MapLabel::setCursorPos | ( | double | longitude, |
| double | latitude | ||
| ) |
| longitude | longitude in degree in range [-180;180[ |
| latitude | latitude in degree in range [-90;90] |
1.8.17