Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #51347 from nirvn/quick_profiling
[quick] Brand new elevation profile canvas item
  • Loading branch information
nirvn committed Jan 30, 2023
2 parents 339d41e + 48c11f6 commit 58b1e26
Show file tree
Hide file tree
Showing 5 changed files with 1,025 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/quickgui/CMakeLists.txt
Expand Up @@ -2,6 +2,7 @@
# sources
set(QGIS_QUICK_GUI_MOC_HDRS
qgsquickcoordinatetransformer.h
qgsquickelevationprofilecanvas.h
qgsquickmapcanvasmap.h
qgsquickmapsettings.h
qgsquickmaptransform.h
Expand All @@ -10,6 +11,7 @@ set(QGIS_QUICK_GUI_MOC_HDRS

set(QGIS_QUICK_GUI_SRC
qgsquickcoordinatetransformer.cpp
qgsquickelevationprofilecanvas.cpp
qgsquickmapcanvasmap.cpp
qgsquickmapsettings.cpp
qgsquickmaptransform.cpp
Expand Down
2 changes: 2 additions & 0 deletions src/quickgui/plugin/qgsquickplugin.cpp
Expand Up @@ -34,6 +34,7 @@
#include "qgsquickmapcanvasmap.h"
#include "qgsquickmapsettings.h"
#include "qgsquickmaptransform.h"
#include "qgsquickelevationprofilecanvas.h"
#include "qgsquickplugin.h"
#include "qgsquickutils.h"

Expand Down Expand Up @@ -65,6 +66,7 @@ void QgsQuickPlugin::registerTypes( const char *uri )
qmlRegisterType< QgsQuickMapCanvasMap >( uri, 0, 1, "MapCanvasMap" );
qmlRegisterType< QgsQuickMapSettings >( uri, 0, 1, "MapSettings" );
qmlRegisterType< QgsQuickMapTransform >( uri, 0, 1, "MapTransform" );
qmlRegisterType< QgsQuickElevationProfileCanvas >( uri, 0, 1, "ElevationProfileCanvas" );
qmlRegisterType< QgsVectorLayer >( uri, 0, 1, "VectorLayer" );

qmlRegisterSingletonType< QgsQuickUtils >( uri, 0, 1, "Utils", buildUtilsSingleton );
Expand Down

0 comments on commit 58b1e26

Please sign in to comment.