Skip to content
Permalink
Browse files

Forward declare some classes

  • Loading branch information
nyalldawson committed Dec 5, 2017
1 parent fb712d7 commit c496b3bcca4d6e162531197ce7fc6953a77517ae
Showing with 56 additions and 3 deletions.
  1. +1 −0 src/app/layout/qgslayoutaddpagesdialog.cpp
  2. +2 −0 src/app/layout/qgslayoutappmenuprovider.cpp
  3. +2 −0 src/app/layout/qgslayoutdesignerdialog.cpp
  4. +2 −0 src/app/layout/qgslayoutguidewidget.cpp
  5. +1 −0 src/app/layout/qgslayouthtmlwidget.cpp
  6. +1 −0 src/app/layout/qgslayoutmapwidget.cpp
  7. +2 −0 src/app/layout/qgslayoutpagepropertieswidget.cpp
  8. +1 −0 src/app/layout/qgslayoutpolygonwidget.cpp
  9. +1 −0 src/app/layout/qgslayoutpolylinewidget.cpp
  10. +1 −0 src/app/layout/qgslayoutpropertieswidget.cpp
  11. +1 −0 src/core/layout/qgslayout.cpp
  12. +2 −2 src/core/layout/qgslayout.h
  13. +1 −0 src/core/layout/qgslayoutaligner.cpp
  14. +2 −0 src/core/layout/qgslayoutexporter.cpp
  15. +2 −0 src/core/layout/qgslayoutgridsettings.cpp
  16. +2 −0 src/core/layout/qgslayoutguidecollection.cpp
  17. +2 −0 src/core/layout/qgslayoutitem.cpp
  18. +2 −0 src/core/layout/qgslayoutitemgroup.cpp
  19. +2 −0 src/core/layout/qgslayoutitempage.cpp
  20. +1 −0 src/core/layout/qgslayoutitemundocommand.cpp
  21. +2 −0 src/core/layout/qgslayoutmultiframe.cpp
  22. +2 −0 src/core/layout/qgslayoutpagecollection.cpp
  23. +2 −0 src/core/layout/qgslayoutpagecollection.h
  24. +1 −0 src/core/layout/qgslayoutsnapper.cpp
  25. +1 −0 src/core/layout/qgslayouttable.cpp
  26. +1 −0 src/gui/layout/qgslayoutitemwidget.cpp
  27. +1 −0 src/gui/layout/qgslayoutmousehandles.cpp
  28. +1 −1 src/gui/layout/qgslayoutnewitempropertiesdialog.cpp
  29. +1 −0 src/gui/layout/qgslayoutruler.cpp
  30. +2 −0 src/gui/layout/qgslayoutview.cpp
  31. +1 −0 src/gui/layout/qgslayoutviewtooladditem.cpp
  32. +1 −0 src/gui/layout/qgslayoutviewtooleditnodes.cpp
  33. +1 −0 src/gui/layout/qgslayoutviewtoolmoveitemcontent.cpp
  34. +2 −0 tests/src/core/testqgslayout.cpp
  35. +2 −0 tests/src/core/testqgslayoutitem.cpp
  36. +1 −0 tests/src/core/testqgslayoutitemgroup.cpp
  37. +2 −0 tests/src/core/testqgslayoutmultiframe.cpp
  38. +1 −0 tests/src/core/testqgslayoutpage.cpp
@@ -18,6 +18,7 @@
#include "qgssettings.h"
#include "qgslayout.h"
#include "qgslayoutmeasurementconverter.h"
#include "qgslayoutpagecollection.h"

QgsLayoutAddPagesDialog::QgsLayoutAddPagesDialog( QWidget *parent, Qt::WindowFlags flags )
: QDialog( parent, flags )
@@ -18,6 +18,8 @@
#include "qgslayoutitemgroup.h"
#include "qgslayoutdesignerdialog.h"
#include "qgslayout.h"
#include "qgslayoutundostack.h"
#include "qgslayoutpagecollection.h"
#include <QMenu>
#include <QMessageBox>

@@ -48,6 +48,8 @@
#include "qgslayoutitemslistview.h"
#include "qgsproject.h"
#include "qgsbusyindicatordialog.h"
#include "qgslayoutundostack.h"
#include "qgslayoutpagecollection.h"
#include <QShortcut>
#include <QComboBox>
#include <QLineEdit>
@@ -19,6 +19,8 @@
#include "qgslayoutview.h"
#include "qgsdoublespinbox.h"
#include "qgslayoutunitscombobox.h"
#include "qgslayoutpagecollection.h"
#include "qgslayoutundostack.h"

QgsLayoutGuideWidget::QgsLayoutGuideWidget( QWidget *parent, QgsLayout *layout, QgsLayoutView *layoutView )
: QgsPanelWidget( parent )
@@ -20,6 +20,7 @@
#include "qgscodeeditorhtml.h"
#include "qgscodeeditorcss.h"
#include "qgssettings.h"
#include "qgslayoutundostack.h"

#include <QFileDialog>

@@ -28,6 +28,7 @@
#include "qgssymbollayerutils.h"
#include "qgslayoutmapgridwidget.h"
#include "qgsstyle.h"
#include "qgslayoutundostack.h"
#include <QMenu>
#include <QMessageBox>

@@ -18,6 +18,8 @@
#include "qgspagesizeregistry.h"
#include "qgslayoutitempage.h"
#include "qgslayout.h"
#include "qgslayoutpagecollection.h"
#include "qgslayoutundostack.h"

QgsLayoutPagePropertiesWidget::QgsLayoutPagePropertiesWidget( QWidget *parent, QgsLayoutItem *layoutItem )
: QgsLayoutItemBaseWidget( parent, layoutItem )
@@ -20,6 +20,7 @@
#include "qgslayout.h"
#include "qgssymbollayerutils.h"
#include "qgslayoutitemregistry.h"
#include "qgslayoutundostack.h"

QgsLayoutPolygonWidget::QgsLayoutPolygonWidget( QgsLayoutItemPolygon *polygon )
: QgsLayoutItemBaseWidget( nullptr, polygon )
@@ -20,6 +20,7 @@
#include "qgssymbollayerutils.h"
#include "qgslayoutitemregistry.h"
#include "qgslayout.h"
#include "qgslayoutundostack.h"
#include <QFileDialog>

QgsLayoutPolylineWidget::QgsLayoutPolylineWidget( QgsLayoutItemPolyline *polyline )
@@ -17,6 +17,7 @@
#include "qgslayoutpropertieswidget.h"
#include "qgslayout.h"
#include "qgslayoutsnapper.h"
#include "qgslayoutpagecollection.h"

QgsLayoutPropertiesWidget::QgsLayoutPropertiesWidget( QWidget *parent, QgsLayout *layout )
: QgsPanelWidget( parent )
@@ -25,6 +25,7 @@
#include "qgslayoutitemgroup.h"
#include "qgslayoutitemgroupundocommand.h"
#include "qgslayoutmultiframe.h"
#include "qgslayoutundostack.h"

QgsLayout::QgsLayout( QgsProject *project )
: mProject( project )
@@ -21,15 +21,15 @@
#include "qgslayoutcontext.h"
#include "qgslayoutsnapper.h"
#include "qgsexpressioncontextgenerator.h"
#include "qgslayoutpagecollection.h"
#include "qgslayoutgridsettings.h"
#include "qgslayoutguidecollection.h"
#include "qgslayoutundostack.h"
#include "qgslayoutexporter.h"

class QgsLayoutItemMap;
class QgsLayoutModel;
class QgsLayoutMultiFrame;
class QgsLayoutPageCollection;
class QgsLayoutUndoStack;

/**
* \ingroup core
@@ -17,6 +17,7 @@
#include "qgslayoutaligner.h"
#include "qgslayoutitem.h"
#include "qgslayout.h"
#include "qgslayoutundostack.h"

void QgsLayoutAligner::alignItems( QgsLayout *layout, const QList<QgsLayoutItem *> &items, QgsLayoutAligner::Alignment alignment )
{
@@ -16,6 +16,8 @@

#include "qgslayoutexporter.h"
#include "qgslayout.h"
#include "qgslayoutitemmap.h"
#include "qgslayoutpagecollection.h"

QgsLayoutExporter::QgsLayoutExporter( QgsLayout *layout )
: mLayout( layout )
@@ -18,6 +18,8 @@
#include "qgsreadwritecontext.h"
#include "qgslayout.h"
#include "qgsproject.h"
#include "qgslayoutundostack.h"
#include "qgslayoutpagecollection.h"

QgsLayoutGridSettings::QgsLayoutGridSettings( QgsLayout *layout )
: mGridResolution( QgsLayoutMeasurement( 10 ) )
@@ -18,6 +18,8 @@
#include "qgslayout.h"
#include "qgsproject.h"
#include "qgsreadwritecontext.h"
#include "qgslayoutpagecollection.h"
#include "qgslayoutundostack.h"
#include <QGraphicsLineItem>


@@ -24,6 +24,8 @@
#include "qgslayoutitemgroup.h"
#include "qgspainting.h"
#include "qgslayouteffect.h"
#include "qgslayoutundostack.h"
#include "qgslayoutpagecollection.h"
#include <QPainter>
#include <QStyleOptionGraphicsItem>
#include <QUuid>
@@ -18,6 +18,8 @@
#include "qgslayoutitemregistry.h"
#include "qgslayout.h"
#include "qgslayoututils.h"
#include "qgslayoutundostack.h"
#include "qgslayoutpagecollection.h"

QgsLayoutItemGroup::QgsLayoutItemGroup( QgsLayout *layout )
: QgsLayoutItem( layout )
@@ -20,6 +20,8 @@
#include "qgspagesizeregistry.h"
#include "qgssymbollayerutils.h"
#include "qgslayoutitemundocommand.h"
#include "qgslayoutpagecollection.h"
#include "qgslayoutundostack.h"
#include <QPainter>
#include <QStyleOptionGraphicsItem>

@@ -20,6 +20,7 @@
#include "qgsreadwritecontext.h"
#include "qgslayout.h"
#include "qgsproject.h"
#include "qgslayoutundostack.h"

///@cond PRIVATE
QgsLayoutItemUndoCommand::QgsLayoutItemUndoCommand( QgsLayoutItem *item, const QString &text, int id, QUndoCommand *parent )
@@ -17,6 +17,8 @@
#include "qgslayoutmultiframeundocommand.h"
#include "qgslayoutframe.h"
#include "qgslayout.h"
#include "qgslayoutpagecollection.h"
#include "qgslayoutundostack.h"
#include <QtCore>

QgsLayoutMultiFrame::QgsLayoutMultiFrame( QgsLayout *layout )
@@ -20,6 +20,8 @@
#include "qgsproject.h"
#include "qgslayoutitemundocommand.h"
#include "qgssymbollayerutils.h"
#include "qgslayoutframe.h"
#include "qgslayoutundostack.h"

QgsLayoutPageCollection::QgsLayoutPageCollection( QgsLayout *layout )
: QObject( layout )
@@ -20,7 +20,9 @@
#include "qgis_core.h"
#include "qgis_sip.h"
#include "qgssymbol.h"
#include "qgslayout.h"
#include "qgslayoutitempage.h"
#include "qgslayoutitem.h"
#include "qgslayoutserializableobject.h"
#include <QObject>
#include <memory>
@@ -18,6 +18,7 @@
#include "qgslayout.h"
#include "qgsreadwritecontext.h"
#include "qgsproject.h"
#include "qgslayoutpagecollection.h"

QgsLayoutSnapper::QgsLayoutSnapper( QgsLayout *layout )
: mLayout( layout )
@@ -23,6 +23,7 @@
#include "qgslayoutframe.h"
#include "qgsfontutils.h"
#include "qgssettings.h"
#include "qgslayoutpagecollection.h"

//
// QgsLayoutTableStyle
@@ -17,6 +17,7 @@
#include "qgspropertyoverridebutton.h"
#include "qgslayout.h"
#include "qgsproject.h"
#include "qgslayoutundostack.h"

//
// QgsLayoutConfigObject
@@ -26,6 +26,7 @@
#include "qgslayoutviewtoolselect.h"
#include "qgslayoutsnapper.h"
#include "qgslayoutitemgroup.h"
#include "qgslayoutundostack.h"
#include <QGraphicsView>
#include <QGraphicsSceneHoverEvent>
#include <QPainter>
@@ -16,7 +16,7 @@
#include "qgslayoutnewitempropertiesdialog.h"
#include "qgssettings.h"
#include "qgslayout.h"

#include "qgslayoutpagecollection.h"

QgsLayoutItemPropertiesDialog::QgsLayoutItemPropertiesDialog( QWidget *parent, Qt::WindowFlags flags )
: QDialog( parent, flags )
@@ -17,6 +17,7 @@
#include "qgis.h"
#include "qgslayoutview.h"
#include "qgslogger.h"
#include "qgslayoutpagecollection.h"
#include <QDragEnterEvent>
#include <QGraphicsLineItem>
#include <QPainter>
@@ -31,6 +31,8 @@
#include "qgslayoutitemundocommand.h"
#include "qgsproject.h"
#include "qgslayoutitemgroup.h"
#include "qgslayoutpagecollection.h"
#include "qgslayoutundostack.h"
#include <memory>
#include <QDesktopWidget>
#include <QMenu>
@@ -25,6 +25,7 @@
#include "qgslayoutitemguiregistry.h"
#include "qgslayoutnewitempropertiesdialog.h"
#include "qgssettings.h"
#include "qgslayoutundostack.h"
#include <QGraphicsRectItem>
#include <QPen>
#include <QBrush>
@@ -18,6 +18,7 @@
#include "qgslayoutview.h"
#include "qgslayout.h"
#include "qgslayoutitemnodeitem.h"
#include "qgslayoutundostack.h"

QgsLayoutViewToolEditNodes::QgsLayoutViewToolEditNodes( QgsLayoutView *view )
: QgsLayoutViewTool( view, tr( "Select" ) )
@@ -19,6 +19,7 @@
#include "qgslayout.h"
#include "qgslayoutitemnodeitem.h"
#include "qgssettings.h"
#include "qgslayoutundostack.h"

QgsLayoutViewToolMoveItemContent::QgsLayoutViewToolMoveItemContent( QgsLayoutView *view )
: QgsLayoutViewTool( view, tr( "Select" ) )
@@ -20,6 +20,8 @@
#include "qgsproject.h"
#include "qgslayoutitemmap.h"
#include "qgslayoutitemshape.h"
#include "qgslayoutpagecollection.h"
#include "qgslayoutundostack.h"

class TestQgsLayout: public QObject
{
@@ -27,6 +27,8 @@
#include "qgslayoutitemshape.h"
#include "qgslayouteffect.h"
#include "qgsfillsymbollayer.h"
#include "qgslayoutpagecollection.h"
#include "qgslayoutundostack.h"
#include <QObject>
#include <QPainter>
#include <QImage>
@@ -26,6 +26,7 @@
#include "qgslogger.h"
#include "qgsproject.h"
#include "qgsfillsymbollayer.h"
#include "qgslayoutundostack.h"

#include <QObject>
#include <QtTest/QSignalSpy>
@@ -23,6 +23,8 @@
#include "qgsapplication.h"
#include "qgsproject.h"
#include "qgslayoutitemhtml.h"
#include "qgslayoutpagecollection.h"
#include "qgslayoutundostack.h"

#include <QObject>
#include "qgstest.h"
@@ -25,6 +25,7 @@
#include "qgsfillsymbollayer.h"
#include "qgslinesymbollayer.h"
#include "qgsmultirenderchecker.h"
#include "qgslayoutpagecollection.h"
#include <QObject>
#include "qgstest.h"

0 comments on commit c496b3b

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