26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_INFO_H 27 #define __TERRALIB_QT_WIDGETS_INTERNAL_INFO_H 31 #include "../../../maptools/AbstractLayer.h" 34 #include "../Config.h" 46 class QTreeWidgetItem;
101 Info(QTreeWidget* infoTree,
MapDisplay* display,
const QCursor& cursor,
const std::list<te::map::AbstractLayerPtr>& layers, QObject* parent = 0);
113 bool mouseReleaseEvent(QMouseEvent* e);
115 void setMode(
const QString& mode);
121 void setLayers(
const std::list<te::map::AbstractLayerPtr>& layers);
123 void onCustomContextMenuRequested(
const QPoint& pos);
125 void onCustomContextMenuCopy();
129 void onCurrentIndexChanged(
const QString& text);
133 void geometrySelected();
137 void getChildInformation(QTreeWidgetItem* item, QStringList& information);
139 void buildTree(
const te::gm::Envelope& envelope,
const std::list<te::map::AbstractLayerPtr>& layers);
154 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_INFO_H
This is a utility class tool that provides a rectangle that can indicate a boundary.
An Envelope defines a 2D rectangular region.
An Envelope defines a 2D rectangular region.