Skip to content
Permalink
Browse files

forward declaration of QgsMapMouseEvent

  • Loading branch information
3nids committed Oct 9, 2018
1 parent ef1efeb commit 7fb3a929943a4d84bcb1ab2e77ffd8da40d0725d
Showing with 181 additions and 111 deletions.
  1. +1 −0 python/gui/auto_generated/qgsadvanceddigitizingdockwidget.sip.in
  2. +1 −1 src/app/qgsmaptooladdpart.cpp
  3. +1 −1 src/app/qgsmaptooladdring.cpp
  4. +5 −2 src/app/qgsmaptoolannotation.cpp
  5. +1 −0 src/app/qgsmaptoolchangelabelproperties.cpp
  6. +2 −1 src/app/qgsmaptoolcircle2points.cpp
  7. +1 −1 src/app/qgsmaptoolcircle2tangentspoint.cpp
  8. +1 −1 src/app/qgsmaptoolcircle3points.cpp
  9. +2 −1 src/app/qgsmaptoolcircle3tangents.cpp
  10. +2 −2 src/app/qgsmaptoolcirclecenterpoint.cpp
  11. +2 −1 src/app/qgsmaptoolcircularstringcurvepoint.cpp
  12. +2 −1 src/app/qgsmaptoolcircularstringradius.cpp
  13. +1 −2 src/app/qgsmaptooldeletepart.cpp
  14. +2 −0 src/app/qgsmaptooldeletepart.h
  15. +2 −1 src/app/qgsmaptooldeletering.cpp
  16. +3 −0 src/app/qgsmaptooldeletering.h
  17. +1 −1 src/app/qgsmaptoolellipsecenter2points.cpp
  18. +2 −1 src/app/qgsmaptoolellipsecenterpoint.cpp
  19. +2 −1 src/app/qgsmaptoolellipseextent.cpp
  20. +1 −1 src/app/qgsmaptoolellipsefoci.cpp
  21. +1 −1 src/app/qgsmaptoolfeatureaction.cpp
  22. +1 −1 src/app/qgsmaptoolfillring.cpp
  23. +2 −2 src/app/qgsmaptoolidentifyaction.cpp
  24. +1 −1 src/app/qgsmaptoolmeasureangle.cpp
  25. +1 −1 src/app/qgsmaptoolmovefeature.cpp
  26. +2 −0 src/app/qgsmaptoolmovefeature.h
  27. +2 −1 src/app/qgsmaptoolmovelabel.cpp
  28. +1 −2 src/app/qgsmaptooloffsetcurve.cpp
  29. +1 −0 src/app/qgsmaptooloffsetcurve.h
  30. +1 −1 src/app/qgsmaptooloffsetpointsymbol.cpp
  31. +2 −2 src/app/qgsmaptoolpinlabels.cpp
  32. +1 −1 src/app/qgsmaptoolpointsymbol.cpp
  33. +1 −1 src/app/qgsmaptoolrectangle3points.cpp
  34. +2 −1 src/app/qgsmaptoolrectanglecenter.cpp
  35. +1 −1 src/app/qgsmaptoolrectangleextent.cpp
  36. +1 −1 src/app/qgsmaptoolregularpolygon2points.cpp
  37. +2 −1 src/app/qgsmaptoolregularpolygoncentercorner.cpp
  38. +1 −1 src/app/qgsmaptoolregularpolygoncenterpoint.cpp
  39. +1 −1 src/app/qgsmaptoolreshape.cpp
  40. +1 −1 src/app/qgsmaptoolreverseline.cpp
  41. +3 −0 src/app/qgsmaptoolreverseline.h
  42. +1 −1 src/app/qgsmaptoolrotatefeature.cpp
  43. +2 −0 src/app/qgsmaptoolrotatefeature.h
  44. +1 −1 src/app/qgsmaptoolrotatelabel.cpp
  45. +3 −1 src/app/qgsmaptoolrotatepointsymbols.cpp
  46. +1 −2 src/app/qgsmaptoolshowhidelabels.cpp
  47. +1 −1 src/app/qgsmaptoolsimplify.cpp
  48. +1 −1 src/app/qgsmaptoolsplitfeatures.cpp
  49. +1 −1 src/app/qgsmaptoolsplitparts.cpp
  50. +2 −1 src/app/qgsmeasuretool.cpp
  51. +1 −0 src/app/qgsmeasuretool.h
  52. +1 −0 src/app/vertextool/qgsvertextool.cpp
  53. +2 −0 src/app/vertextool/qgsvertextool.h
  54. +1 −0 src/core/qgstolerance.cpp
  55. +1 −1 src/gui/qgsadvanceddigitizingdockwidget.cpp
  56. +7 −5 src/gui/qgsadvanceddigitizingdockwidget.h
  57. +1 −0 src/gui/qgsmapcanvas.cpp
  58. +1 −0 src/gui/qgsmaptool.cpp
  59. +1 −1 src/gui/qgsmaptool.h
  60. +1 −0 src/gui/qgsmaptoolcapture.h
  61. +3 −1 src/gui/qgsmaptoolemitpoint.cpp
  62. +4 −2 src/gui/qgsmaptoolextent.cpp
  63. +1 −0 src/gui/qgsmaptoolidentifyfeature.cpp
  64. +6 −3 src/gui/qgsmaptoolpan.cpp
  65. +7 −4 src/gui/qgsmaptoolzoom.cpp
  66. +6 −5 src/plugins/coordinate_capture/coordinatecapturemaptool.cpp
  67. +7 −2 src/plugins/evis/idtool/eviseventidtool.cpp
  68. +1 −1 src/plugins/georeferencer/qgsgeoreftooladdpoint.cpp
  69. +1 −1 src/plugins/georeferencer/qgsgeoreftooldeletepoint.cpp
  70. +1 −1 src/plugins/georeferencer/qgsgeoreftoolmovepoint.cpp
  71. +37 −0 src/plugins/georeferencer/qgsmapcoordsdialog.cpp
  72. +12 −34 src/plugins/georeferencer/qgsmapcoordsdialog.h
  73. +1 −1 src/plugins/grass/qgsgrassregion.cpp
@@ -11,6 +11,7 @@




class QgsAdvancedDigitizingDockWidget : QgsDockWidget
{
%Docstring
@@ -24,8 +24,8 @@
#include "qgsvectorlayer.h"
#include "qgslogger.h"
#include "qgisapp.h"
#include "qgsmapmouseevent.h"

#include <QMouseEvent>

QgsMapToolAddPart::QgsMapToolAddPart( QgsMapCanvas *canvas )
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget(), CaptureNone )
@@ -13,7 +13,6 @@
* *
***************************************************************************/

#include <QMouseEvent>

#include "qgsmaptooladdring.h"
#include "qgsgeometry.h"
@@ -23,6 +22,7 @@
#include "qgsvectordataprovider.h"
#include "qgsvectorlayer.h"
#include "qgisapp.h"
#include "qgsmapmouseevent.h"


QgsMapToolAddRing::QgsMapToolAddRing( QgsMapCanvas *canvas )
@@ -15,6 +15,9 @@
* *
***************************************************************************/

#include <QDialog>
#include <QMouseEvent>

#include "qgsmaptoolannotation.h"
#include "qgsannotation.h"
#include "qgsformannotationdialog.h"
@@ -30,8 +33,8 @@
#include "qgsproject.h"
#include "qgsexception.h"
#include "qgsannotationmanager.h"
#include <QDialog>
#include <QMouseEvent>
#include "qgsmapmouseevent.h"


QgsMapToolAnnotation::QgsMapToolAnnotation( QgsMapCanvas *canvas )
: QgsMapTool( canvas )
@@ -20,6 +20,7 @@
#include "qgsmapcanvas.h"
#include "qgsrubberband.h"
#include "qgsvectorlayer.h"
#include "qgsmapmouseevent.h"

QgsMapToolChangeLabelProperties::QgsMapToolChangeLabelProperties( QgsMapCanvas *canvas ): QgsMapToolLabel( canvas )
{
@@ -18,7 +18,8 @@
#include "qgsgeometryrubberband.h"
#include "qgsmapcanvas.h"
#include "qgspoint.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"


QgsMapToolCircle2Points::QgsMapToolCircle2Points( QgsMapToolCapture *parentTool,
QgsMapCanvas *canvas, CaptureMode mode )
@@ -27,7 +27,7 @@
#include "qgsspinbox.h"
#include "qgsgeometryutils.h"
#include <memory>
#include <QMouseEvent>
#include "qgsmapmouseevent.h"

QgsMapToolCircle2TangentsPoint::QgsMapToolCircle2TangentsPoint( QgsMapToolCapture *parentTool,
QgsMapCanvas *canvas, CaptureMode mode )
@@ -19,7 +19,7 @@
#include "qgslinestring.h"
#include "qgsmapcanvas.h"
#include "qgspoint.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"

QgsMapToolCircle3Points::QgsMapToolCircle3Points( QgsMapToolCapture *parentTool,
QgsMapCanvas *canvas, CaptureMode mode )
@@ -22,7 +22,8 @@
#include "qgsmapcanvas.h"
#include "qgspoint.h"
#include "qgisapp.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"


QgsMapToolCircle3Tangents::QgsMapToolCircle3Tangents( QgsMapToolCapture *parentTool,
QgsMapCanvas *canvas, CaptureMode mode )
@@ -18,13 +18,13 @@
#include "qgsgeometryrubberband.h"
#include "qgsmapcanvas.h"
#include "qgspoint.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"


QgsMapToolCircleCenterPoint::QgsMapToolCircleCenterPoint( QgsMapToolCapture *parentTool,
QgsMapCanvas *canvas, CaptureMode mode )
: QgsMapToolAddCircle( parentTool, canvas, mode )
{

}

void QgsMapToolCircleCenterPoint::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
@@ -18,7 +18,8 @@
#include "qgsgeometryrubberband.h"
#include "qgsmapcanvas.h"
#include "qgspoint.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"


QgsMapToolCircularStringCurvePoint::QgsMapToolCircularStringCurvePoint( QgsMapToolCapture *parentTool,
QgsMapCanvas *canvas, CaptureMode mode )
@@ -22,8 +22,9 @@
#include "qgsmapcanvas.h"
#include "qgspoint.h"
#include "qgsstatusbar.h"
#include "qgsmapmouseevent.h"

#include <QDoubleSpinBox>
#include <QMouseEvent>
#include <cmath>

QgsMapToolCircularStringRadius::QgsMapToolCircularStringRadius( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode )
@@ -24,8 +24,7 @@
#include "qgssnappingutils.h"
#include "qgstolerance.h"
#include "qgisapp.h"

#include <QMouseEvent>
#include "qgsmapmouseevent.h"

QgsMapToolDeletePart::QgsMapToolDeletePart( QgsMapCanvas *canvas )
: QgsMapToolEdit( canvas )
@@ -18,6 +18,8 @@

#include "qgsmaptooledit.h"
#include "qgis_app.h"
#include "qgsfeatureid.h"
#include "qgsgeometry.h"

class QgsVertexMarker;

@@ -22,10 +22,11 @@
#include "qgsvectorlayer.h"
#include "qgisapp.h"
#include "qgsrubberband.h"
#include "qgsmapmouseevent.h"

#include <QMouseEvent>
#include <limits>


QgsMapToolDeleteRing::QgsMapToolDeleteRing( QgsMapCanvas *canvas )
: QgsMapToolEdit( canvas )
, mPressedFid( 0 )
@@ -18,6 +18,9 @@

#include "qgsmaptooledit.h"
#include "qgis_app.h"
#include "qgsgeometry.h"
#include "qgsfeatureid.h"


class QgsVertexMarker;
//! Map tool to delete vertices from line/polygon features
@@ -19,7 +19,7 @@
#include "qgslinestring.h"
#include "qgsmapcanvas.h"
#include "qgspoint.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"
#include <memory>

QgsMapToolEllipseCenter2Points::QgsMapToolEllipseCenter2Points( QgsMapToolCapture *parentTool,
@@ -18,7 +18,8 @@
#include "qgsgeometryrubberband.h"
#include "qgsmapcanvas.h"
#include "qgspoint.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"


QgsMapToolEllipseCenterPoint::QgsMapToolEllipseCenterPoint( QgsMapToolCapture *parentTool,
QgsMapCanvas *canvas, CaptureMode mode )
@@ -20,7 +20,8 @@
#include "qgspoint.h"
#include "qgsgeometryutils.h"
#include "qgslinestring.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"


QgsMapToolEllipseExtent::QgsMapToolEllipseExtent( QgsMapToolCapture *parentTool,
QgsMapCanvas *canvas, CaptureMode mode )
@@ -19,7 +19,7 @@
#include "qgslinestring.h"
#include "qgsmapcanvas.h"
#include "qgspoint.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"
#include <memory>

QgsMapToolEllipseFoci::QgsMapToolEllipseFoci( QgsMapToolCapture *parentTool,
@@ -33,9 +33,9 @@
#include "qgisapp.h"
#include "qgsgui.h"
#include "qgsstatusbar.h"
#include "qgsmapmouseevent.h"

#include <QSettings>
#include <QMouseEvent>
#include <QStatusBar>

QgsMapToolFeatureAction::QgsMapToolFeatureAction( QgsMapCanvas *canvas )
@@ -22,8 +22,8 @@
#include "qgsattributedialog.h"
#include "qgisapp.h"
#include "qgsvectorlayerutils.h"
#include "qgsmapmouseevent.h"

#include <QMouseEvent>
#include <limits>

QgsMapToolFillRing::QgsMapToolFillRing( QgsMapCanvas *canvas )
@@ -39,9 +39,9 @@
#include "qgsstatusbar.h"
#include "qgsactionscoperegistry.h"
#include "qgsproxyprogresstask.h"

#include "qgssettings.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"

#include <QCursor>
#include <QPixmap>
#include <QStatusBar>
@@ -24,8 +24,8 @@
#include "qgssnappingutils.h"
#include "qgssettings.h"
#include "qgssnapindicator.h"
#include "qgsmapmouseevent.h"

#include <QMouseEvent>
#include <cmath>

QgsMapToolMeasureAngle::QgsMapToolMeasureAngle( QgsMapCanvas *canvas )
@@ -25,9 +25,9 @@
#include "qgsvectorlayer.h"
#include "qgsvectorlayertools.h"
#include "qgssnapindicator.h"
#include "qgsmapmouseevent.h"

#include <QMessageBox>
#include <QMouseEvent>
#include <QSettings>
#include <limits>

@@ -18,6 +18,8 @@

#include "qgsmaptooladvanceddigitizing.h"
#include "qgis_app.h"
#include "qgspointxy.h"
#include "qgsfeatureid.h"

class QgsSnapIndicator;

@@ -19,7 +19,8 @@
#include "qgsmapcanvas.h"
#include "qgsrubberband.h"
#include "qgsvectorlayer.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"


QgsMapToolMoveLabel::QgsMapToolMoveLabel( QgsMapCanvas *canvas )
: QgsMapToolLabel( canvas )
@@ -14,7 +14,6 @@
***************************************************************************/

#include <QGraphicsProxyWidget>
#include <QMouseEvent>
#include <QGridLayout>
#include <QLabel>

@@ -30,7 +29,7 @@
#include "qgssnappingconfig.h"
#include "qgssettings.h"
#include "qgisapp.h"

#include "qgsmapmouseevent.h"
#include "qgslogger.h"

QgsMapToolOffsetCurve::QgsMapToolOffsetCurve( QgsMapCanvas *canvas )
@@ -20,6 +20,7 @@
#include "qgsgeometry.h"
#include "qgis_app.h"
#include "ui_qgsoffsetuserinputwidget.h"
#include "qgspointlocator.h"

class QGridLayout;

@@ -25,9 +25,9 @@
#include "qgisapp.h"
#include "qgsproperty.h"
#include "qgssymbollayerutils.h"
#include "qgsmapmouseevent.h"

#include <QGraphicsPixmapItem>
#include <QMouseEvent>

QgsMapToolOffsetPointSymbol::QgsMapToolOffsetPointSymbol( QgsMapCanvas *canvas )
: QgsMapToolPointSymbol( canvas )
@@ -22,11 +22,11 @@
#include "qgsmapcanvas.h"
#include "qgsproject.h"
#include "qgsvectorlayer.h"

#include "qgsmapmouseevent.h"
#include "qgsmaptoolselectutils.h"
#include "qgsrubberband.h"
#include "qgslogger.h"
#include <QMouseEvent>


QgsMapToolPinLabels::QgsMapToolPinLabels( QgsMapCanvas *canvas )
: QgsMapToolLabel( canvas )
@@ -19,8 +19,8 @@
#include "qgsvectorlayer.h"
#include "qgsmapcanvas.h"
#include "qgssnappingutils.h"
#include "qgsmapmouseevent.h"

#include <QMouseEvent>

QgsMapToolPointSymbol::QgsMapToolPointSymbol( QgsMapCanvas *canvas )
: QgsMapToolEdit( canvas )
@@ -20,7 +20,7 @@
#include "qgslinestring.h"
#include "qgsmapcanvas.h"
#include "qgspoint.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"
#include <memory>

QgsMapToolRectangle3Points::QgsMapToolRectangle3Points( QgsMapToolCapture *parentTool,
@@ -20,7 +20,8 @@
#include "qgsmapcanvas.h"
#include "qgslinestring.h"
#include "qgspoint.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"

#include <memory>

QgsMapToolRectangleCenter::QgsMapToolRectangleCenter( QgsMapToolCapture *parentTool,
@@ -20,7 +20,7 @@
#include "qgsmapcanvas.h"
#include "qgslinestring.h"
#include "qgspoint.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"
#include <memory>

QgsMapToolRectangleExtent::QgsMapToolRectangleExtent( QgsMapToolCapture *parentTool,
@@ -18,7 +18,7 @@
#include "qgsgeometryrubberband.h"
#include "qgsmapcanvas.h"
#include "qgspoint.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"

QgsMapToolRegularPolygon2Points::QgsMapToolRegularPolygon2Points( QgsMapToolCapture *parentTool,
QgsMapCanvas *canvas, CaptureMode mode )
@@ -18,7 +18,8 @@
#include "qgsgeometryrubberband.h"
#include "qgsmapcanvas.h"
#include "qgspoint.h"
#include <QMouseEvent>
#include "qgsmapmouseevent.h"


QgsMapToolRegularPolygonCenterCorner::QgsMapToolRegularPolygonCenterCorner( QgsMapToolCapture *parentTool,
QgsMapCanvas *canvas, CaptureMode mode )

0 comments on commit 7fb3a92

Please sign in to comment.
You can’t perform that action at this time.