Special GraphicsView that allows the User to digitize polygons.
More...
#include <ScmGeoLocGraphicsView.hpp>
|
|
void | timeValueChanged (int year) |
| |
|
void | showAddPolyDialog () |
| |
|
void | addPolygonToCulture (scm::CulturePolygon poly) |
| |
|
|
| ScmGeoLocGraphicsView (QWidget *parent=nullptr) |
| |
|
void | addCurrentPoly (int beginTime, int endTime) |
| |
|
void | removePolygon (int id) |
| |
|
void | reset () |
| |
|
|
void | wheelEvent (QWheelEvent *event) override |
| |
|
void | showEvent (QShowEvent *event) override |
| |
|
void | mouseMoveEvent (QMouseEvent *event) override |
| |
|
void | mousePressEvent (QMouseEvent *event) override |
| |
|
void | mouseReleaseEvent (QMouseEvent *event) override |
| |
|
void | mouseDoubleClickEvent (QMouseEvent *event) override |
| |
|
void | keyPressEvent (QKeyEvent *event) override |
| |
Special GraphicsView that allows the User to digitize polygons.
◆ selectPolygon
| void ScmGeoLocGraphicsView::selectPolygon |
( |
int |
id | ) |
|
|
slot |
Selects the polygon with the given identifier.
If no such identifier is present, nothing happens.
- Parameters
-
| The | identifier of the polygon to be selected. |
◆ updateTime
| void ScmGeoLocGraphicsView::updateTime |
( |
int |
year | ) |
|
|
slot |
Update the current time and visibility of all polygons.
- Parameters
-
| The | year to which the current time is set. |