26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_ABSTRACTTOOL_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_ABSTRACTTOOL_H
30 #include "../Config.h"
33 #include <boost/noncopyable.hpp>
36 #include <QtCore/QObject>
37 #include <QtGui/QCursor>
104 virtual bool eventFilter(QObject* watched, QEvent* e);
114 virtual bool mousePressEvent(QMouseEvent* e);
124 virtual bool mouseMoveEvent(QMouseEvent* e);
134 virtual bool mouseReleaseEvent(QMouseEvent* e);
147 virtual bool mouseDoubleClickEvent(QMouseEvent* e);
156 virtual void setCursor(
const QCursor& cursor);
168 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_ABSTRACTTOOL_H
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
This class defines an interface for objects that can receive application events and respond to them...
QCursor m_cursor
The default tool cursor.
MapDisplay * m_display
The map display associated with the tool.
A widget to control the display of a set of layers.