Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Move GeoNode browser/source select from app -> new 'geonode' provider
Instead of including these classes in app, we instead make a shell data provider which implements only the dataItemProviders() and sourceSelectProviders() methods. Helps keep GeoNode GUI related code partitioned
- Loading branch information
1 parent
54df0a2
commit 220c5e8
Showing
15 changed files
with
105 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
|
||
SET (GEONODE_SRCS | ||
qgsgeonodedataitems.cpp | ||
qgsgeonodenewconnection.cpp | ||
qgsgeonodeprovider.cpp | ||
qgsgeonodesourceselect.cpp | ||
) | ||
|
||
SET(GEONODE_MOC_HDRS | ||
qgsgeonodedataitems.h | ||
qgsgeonodenewconnection.h | ||
qgsgeonodesourceselect.h | ||
) | ||
|
||
######################################################## | ||
# Build | ||
|
||
QT5_WRAP_CPP(GEONODE_MOC_SRCS ${GEONODE_MOC_HDRS}) | ||
|
||
INCLUDE_DIRECTORIES( | ||
${CMAKE_SOURCE_DIR}/src/core | ||
${CMAKE_SOURCE_DIR}/src/core/raster | ||
${CMAKE_SOURCE_DIR}/src/core/geocms/geonode | ||
${CMAKE_SOURCE_DIR}/src/core/geometry | ||
${CMAKE_SOURCE_DIR}/src/core/metadata | ||
${CMAKE_SOURCE_DIR}/src/core/symbology | ||
${CMAKE_SOURCE_DIR}/src/core/expression | ||
${CMAKE_SOURCE_DIR}/src/gui | ||
|
||
${CMAKE_BINARY_DIR}/src/core | ||
${CMAKE_BINARY_DIR}/src/gui | ||
${CMAKE_BINARY_DIR}/src/ui | ||
) | ||
|
||
ADD_LIBRARY(geonodeprovider MODULE ${GEONODE_SRCS} ${GEONODE_MOC_SRCS}) | ||
|
||
TARGET_LINK_LIBRARIES(geonodeprovider | ||
qgis_core | ||
) | ||
|
||
IF (WITH_GUI) | ||
TARGET_LINK_LIBRARIES (geonodeprovider | ||
qgis_gui | ||
) | ||
ENDIF () | ||
|
||
# clang-tidy | ||
IF(CLANG_TIDY_EXE) | ||
SET_TARGET_PROPERTIES( | ||
geonodeprovider PROPERTIES | ||
CXX_CLANG_TIDY "${DO_CLANG_TIDY}" | ||
) | ||
ENDIF(CLANG_TIDY_EXE) | ||
|
||
INSTALL (TARGETS geonodeprovider | ||
RUNTIME DESTINATION ${QGIS_PLUGIN_DIR} | ||
LIBRARY DESTINATION ${QGIS_PLUGIN_DIR}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.