30 #ifndef __TERRALIB_LAYOUT_INTERNAL_GRIDMAP_ITEM_H
31 #define __TERRALIB_LAYOUT_INTERNAL_GRIDMAP_ITEM_H
35 #include "../../core/Config.h"
69 virtual void paint( QPainter * painter,
const QStyleOptionGraphicsItem * option, QWidget * widget = 0 );
74 virtual QRectF boundingRect()
const;
81 virtual QVariant itemChange ( QGraphicsItem::GraphicsItemChange change,
const QVariant & value );
83 virtual void drawGrid(QPainter* painter);
85 virtual void drawText( QPointF point, QPainter* painter, std::string text,
bool displacementLeft =
false,
bool displacementRight =
false);
87 virtual void recalculateBoundingRect();
Abstract class to represent an observable. "Model" part of MVC component.
#define TELAYOUTEXPORT
You can use this macro in order to export/import classes and functions from this module.
Abstract class to represent a controller. "Controller" part of MVC component. All classes representin...
Abstract class that represents a graphic item. This object is of type QGraphicsObject.
Abstract class that represents a graphic item. This object is of type QGraphicsObject.
Class that represents a graphic GridMap. Its coordinate system is the same of scene (millimeters)...