26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_MAP_EDITOR_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_MAP_EDITOR_H
34 #include "../Config.h"
43 #include <QPaintEvent>
44 #include <QResizeEvent>
55 class DraftLayoutEditor;
69 LayoutEditor(QWidget* parent = 0, Qt::WindowFlags f = Qt::Window );
70 LayoutEditor(
const QSize& paperSize, QWidget* parent = 0, Qt::WindowFlags f = Qt::Window );
73 void createWorkingArea(
bool undo =
true);
75 void createRulerGrid();
83 void paintEvent(QPaintEvent* event);
84 void resizeEvent(QResizeEvent* event);
85 void moveEvent(QMoveEvent* event);
86 void setPaperSize(
const QSize& size);
88 QRectF getPaperViewRect();
89 int getHorizontalRulerWidth();
90 int getVerticalRulerWidth();
91 QWidget* getAuxWidget();
92 void setUndoBufferSize(
const int& size);
93 int getUndoBufferSize();
96 void pan(
const QPointF& p);
98 void drawButtonClicked();
99 void drawLayersSelection();
100 void setSelectionColor(QColor selColor);
101 void setDisplayBackgroundColor(QColor);
102 void resetPaperView();
103 QMatrix getMatrixPaperViewToVp();
105 QPixmap* getDraftPixmap();
106 void raiseDraftLayoutEditor();
107 void lowerDraftLayoutEditor();
109 void adjustAspectRatio(QRectF& r,
const QRectF& ref);
110 void setMouseMode(
int);
111 void hideAllObjects();
112 void showAllObjects();
114 void mousePressEvent(QMouseEvent* e);
115 void mouseMoveEvent(QMouseEvent* e);
116 void mouseReleaseEvent(QMouseEvent* e);
117 void wheelEvent(QWheelEvent* e);
118 void keyPressEvent(QKeyEvent* e);
119 void sendEventToChildren(
bool b);
120 bool eventFilter(QObject*, QEvent*);
182 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_MAP_EDITOR_H
This file contains include headers for TerraLib Spatial Reference System module.
mydialect insert("+", new te::da::BinaryOpEncoder("+"))
A connector of the te::qt::widgets::MultiThreadMapDisplay used in te::qt::widgets::DataFrame class to...