Merge branch 'crosshair2'
[situare] / src / map / mapview.h
index 59bd46a..8f86892 100644 (file)
@@ -62,13 +62,6 @@ protected:
     */
     void resizeEvent(QResizeEvent *event);
 
-    /**
-    * @brief Called when view is displayed.
-    *
-    * @param event show event
-    */
-    void showEvent(QShowEvent *event);
-
 private:
     /**
     * @brief Event handler for mouse move events
@@ -111,6 +104,10 @@ public slots:
     */
     void updateViewPortContent();
 
+    /**
+    * @brief Slot for catching request to get view port contents.
+    * implementation of this slot sends signal that includes visble area of view port.
+    */
     QRect viewportContent();
 
 private:
@@ -150,7 +147,6 @@ signals:
 
     /**
     * @brief Signal for informing that zooming animation is finished
-    *
     */
     void viewZoomFinished();
 
@@ -163,6 +159,13 @@ signals:
     void viewContentChanged(QPoint viewTopLeft);
 
     /**
+    * @brief Signal that sends visible area of map scene
+    *
+    * @param viewArea visible area of map scene
+    */
+    void updateViewContent(QRect viewArea);
+
+    /**
     * @brief Signal for drawing OSM license
     *
     * Signal is emitted when view is resized.