Special QLabel that shows a world map.
#include <MapLabel.hpp>
|
void | positionChanged (double longitude, double latitude) |
| Signal emitted when we click on the map.
|
|
|
| MapLabel (QWidget *parent=Q_NULLPTR) |
|
void | setCursorPos (double longitude, double latitude) |
| Set the current cursor position. More...
|
|
void | setPixmap (const QPixmap &pixmap) |
|
void | resizePixmap () |
|
|
void | mousePressEvent (QMouseEvent *event) Q_DECL_OVERRIDE |
|
void | resizeEvent (QResizeEvent *event) Q_DECL_OVERRIDE |
|
◆ setCursorPos()
void MapLabel::setCursorPos |
( |
double |
longitude, |
|
|
double |
latitude |
|
) |
| |
- Parameters
-
longitude | longitude in degree in range [-180;180[ |
latitude | latitude in degree in range [-90;90] |