* Logic for controlling map functionality. Does also include static methods for
* converting coordinates.
* @author Sami Rämö - sami.ramo (at) ixonos.com
+* @author Jussi Laitinen - jussi.laitinen (at) ixonos.com
*/
class MapEngine : public QObject
{
/**
* @brief Map scene for storing MapTile items
*
-* \author Sami Rämö - sami.ramo (at) ixonos.com
+* @author Sami Rämö - sami.ramo (at) ixonos.com
*/
class MapScene : public QGraphicsScene
{
MapView(QWidget *parent = 0);
private:
- //
+
/**
* @brief get current horizontal scale (vertical should be same)
*
*/
void viewScrolled(QPoint sceneCoordinate);
+ /**
+ * @brief Signal for view resize events.
+ *
+ * Signal is emitted when view has been resized.
+ * @param size view size
+ */
void viewResized(const QSize &size);
public slots:
void setZoomLevel(int zoomLevel);
protected:
+
+ /**
+ * @brief Called when view is resized.
+ *
+ * @event resize event
+ */
void resizeEvent(QResizeEvent *event);
private slots: