27 #include "../../../dataaccess/dataset/DataSet.h"
28 #include "../../../dataaccess/dataset/ObjectIdSet.h"
29 #include "../../../dataaccess/utils/Utils.h"
30 #include "../../../geometry/Geometry.h"
31 #include "../../../geometry/Envelope.h"
32 #include "../../../geometry/Utils.h"
33 #include "../../../maptools/Utils.h"
34 #include "../../../srs/Config.h"
35 #include "../../widgets/layout/LayoutEditor.h"
36 #include "../../widgets/layout/DataFrame.h"
37 #include "../../widgets/canvas/MultiThreadMapDisplay.h"
38 #include "../../widgets/tools/AbstractTool.h"
39 #include "../../widgets/tools/ZoomWheel.h"
40 #include "../../widgets/tools/CoordTracking.h"
41 #include "../../widgets/Utils.h"
42 #include "../events/LayerEvents.h"
43 #include "../events/MapEvents.h"
44 #include "../events/ProjectEvents.h"
45 #include "../events/ToolEvents.h"
46 #include "../ApplicationController.h"
47 #include "../Project.h"
52 #include <QtGui/QContextMenuEvent>
53 #include <QtGui/QMessageBox>
59 #define EXTENT_STACK_SIZE 5
77 delete m_layoutEditor;
83 return m_layoutEditor;
101 m_layoutEditor->setSelectionColor(selColor);
102 m_layoutEditor->drawLayersSelection();
110 m_layoutEditor->setDisplayBackgroundColor(mapColorChanged->
m_color);
117 m_layoutEditor->setSelectionColor(selColor);
118 m_layoutEditor->drawButtonClicked();
124 m_layoutEditor->setMouseMode(1);
130 m_layoutEditor->setMouseMode(2);
136 m_layoutEditor->setMouseMode(3);
142 m_layoutEditor->setMouseMode(0);
te::qt::widgets::LayoutEditor * getLayoutEditor()
void setCurrentTool(te::qt::widgets::AbstractTool *tool)
Updates the current tool being used on te::qt::widgets::MapDisplay.
QColor getSelectionColor() const
Returns the application selection color.
This event signals that the color of the map display changed.
This class defines an interface for objects that can receive application events and respond to them...
LayoutEditor(te::qt::widgets::LayoutEditor *le)
Constructor.
static ApplicationController & getInstance()
It gives access to the controller singleton.
void onApplicationTriggered(te::qt::af::evt::Event *e)
Listener to the application framewrork events.
virtual ~LayoutEditor()
destructor.
void addListener(QObject *obj)
Insert an application item that will listen to framework events.
A base class for application events.