28 #ifndef __TERRALIB_LAYOUT_INTERNAL_ITEM_UTILS_H
29 #define __TERRALIB_LAYOUT_INTERNAL_ITEM_UTILS_H
32 #include "../../core/Config.h"
33 #include "../../../geometry/Point.h"
34 #include "../../core/property/Properties.h"
82 virtual std::vector<MapItem*> getMapItemList(
bool selected =
false);
90 virtual MapItem* getMapItem(std::string name);
98 virtual std::vector<std::string> mapNameList(
bool selected =
false);
121 virtual bool isCurrentMapTools();
128 virtual void setCurrentToolInSelectedMapItems(
EnumType* mode);
133 virtual void createTextGridAsObject();
138 virtual void createTextMapAsObject();
143 virtual void createLegendChildAsObject();
151 virtual std::vector<Properties*> getGridMapProperties();
159 virtual std::vector<GridMapItem*> getMapChildren();
169 virtual QGraphicsItem* intersectionSelectionItem(
int x,
int y);
179 virtual QList<QGraphicsItem*> getItems(
bool selected =
false);
187 virtual void createTextItemFromObject(std::map<te::gm::Point*, std::string> map, QFont* ft = 0);
195 virtual void createLegendChildItemFromLegend(std::map<te::gm::Point*, std::string> map,
MapModel* visitable);
#define TELAYOUTEXPORT
You can use this macro in order to export/import classes and functions from this module.
QGraphicsScene * m_scene
A pointer to scene.
Utility class for manipulating items in the scene and vectorization of text and legend.
Class that represents a "Model" part of Map MVC component. Its coordinate system is the same of scene...
Class that represents the value of an enumeration. An enumeration is made of "1..n" objects EnumType...
This class is a proxy MapDisplay. This makes it possible to add a MapDisplay as item of a scene...