Permalink
Please
sign in to comment.
Showing
with
14,541 additions
and 6,434 deletions.
- +3 −0 cmake/FindOSGEARTH.cmake
- +1 −0 images/images.qrc
- +151 −0 images/themes/default/sync_views.svg
- +1 −0 python/core/core.sip
- +5 −0 python/core/qgsmapsettings.sip
- +25 −0 python/core/qgsplugininterface.sip
- +1 −1 python/core/qgsrectangle.sip
- +2 −0 python/gui/gui.sip
- +6 −0 python/gui/qgisinterface.sip
- +15 −0 python/gui/qgsmaplayerpropertiesfactory.sip
- +15 −0 python/gui/qgsvectorlayerpropertiespage.sip
- +14 −0 src/app/qgisapp.cpp
- +9 −0 src/app/qgisapp.h
- +10 −0 src/app/qgisappinterface.cpp
- +6 −0 src/app/qgisappinterface.h
- +21 −0 src/app/qgsvectorlayerproperties.cpp
- +8 −0 src/app/qgsvectorlayerproperties.h
- +2 −0 src/core/CMakeLists.txt
- +6 −0 src/core/qgsmapsettings.h
- 0 src/core/qgsplugininterface.cpp
- +29 −0 src/core/qgsplugininterface.h
- +1 −1 src/core/qgsrectangle.cpp
- +1 −1 src/core/qgsrectangle.h
- +5 −0 src/gui/CMakeLists.txt
- +7 −0 src/gui/qgisinterface.h
- +48 −0 src/gui/qgsbillboardregistry.cpp
- +54 −0 src/gui/qgsbillboardregistry.h
- +20 −0 src/gui/qgsmaplayerpropertiesfactory.cpp
- +32 −0 src/gui/qgsmaplayerpropertiesfactory.h
- +22 −0 src/gui/qgsvectorlayerpropertiespage.cpp
- +35 −0 src/gui/qgsvectorlayerpropertiespage.h
- +59 −58 src/plugins/globe/CMakeLists.txt
- +11 −0 src/plugins/globe/CMakeModules/ModuleInstallOsgEarthDriverIncludes.cmake
- +361 −0 src/plugins/globe/CMakeModules/OsgEarthMacroUtils.cmake
- +50 −0 src/plugins/globe/featuresource/CMakeLists.txt
- +66 −0 src/plugins/globe/featuresource/qgsglobefeaturecursor.h
- +81 −0 src/plugins/globe/featuresource/qgsglobefeatureoptions.h
- +145 −0 src/plugins/globe/featuresource/qgsglobefeaturesource.cpp
- +48 −0 src/plugins/globe/featuresource/qgsglobefeaturesource.h
- +254 −0 src/plugins/globe/featuresource/qgsglobefeatureutils.h
- +902 −997 src/plugins/globe/globe_plugin.cpp
- +123 −207 src/plugins/globe/globe_plugin.h
- +2 −2 src/plugins/globe/globe_plugin.qrc
- +0 −700 src/plugins/globe/globe_plugin_dialog.cpp
- +0 −104 src/plugins/globe/globe_plugin_dialog.h
- +0 −782 src/plugins/globe/globe_plugin_dialog_guibase.ui
- BIN src/plugins/globe/images/gui/button-background-single.png
- BIN src/plugins/globe/images/gui/button-background.png
- BIN src/plugins/globe/images/gui/settings.png
- BIN src/plugins/globe/images/gui/zoom-in.png
- BIN src/plugins/globe/images/gui/zoom-out.png
- +143 −0 src/plugins/globe/images/icon.svg
- +0 −92 src/plugins/globe/osgEarthQt/Common
- +0 −91 src/plugins/globe/osgEarthQt/ViewerWidget
- +0 −167 src/plugins/globe/osgEarthQt/ViewerWidget.cpp
- +0 −693 src/plugins/globe/osgEarthUtil/Controls
- +0 −2,227 src/plugins/globe/osgEarthUtil/Controls.cpp
- +119 −0 src/plugins/globe/python/CMakeLists.txt
- +24 −0 src/plugins/globe/python/__init__.py
- +22 −0 src/plugins/globe/python/globe.sip
- +655 −0 src/plugins/globe/python/osg/osg/Camera.sip
- +779 −0 src/plugins/globe/python/osg/osg/Drawable.sip
- +168 −0 src/plugins/globe/python/osg/osg/Group.sip
- +431 −0 src/plugins/globe/python/osg/osg/Node.sip
- +253 −0 src/plugins/globe/python/osg/osg/Object.sip
- +60 −0 src/plugins/globe/python/osg/osg/RenderInfo.sip
- +100 −0 src/plugins/globe/python/osg/osg/Vec2d.sip
- +94 −0 src/plugins/globe/python/osg/osg/Vec2f.sip
- +101 −0 src/plugins/globe/python/osg/osg/Vec3d.sip
- +93 −0 src/plugins/globe/python/osg/osg/Vec3f.sip
- +178 −0 src/plugins/globe/python/osg/osg/View.sip
- +17 −0 src/plugins/globe/python/osg/osg/osg.sip
- +55 −0 src/plugins/globe/python/osg/osg/stdstring.sip
- +111 −0 src/plugins/globe/python/osg/osgGA/GUIEventHandler.sip
- +7 −0 src/plugins/globe/python/osg/osgGA/osgGA.sip
- +251 −0 src/plugins/globe/python/osg/osgViewer/View.sip
- +123 −0 src/plugins/globe/python/osg/osgViewer/Viewer.sip
- +9 −0 src/plugins/globe/python/osg/osgViewer/osgViewer.sip
- +52 −0 src/plugins/globe/python/osgEarth/Bounds.sip
- +25 −0 src/plugins/globe/python/osgEarth/Common.sip
- +502 −0 src/plugins/globe/python/osgEarth/Config.sip
- +234 −0 src/plugins/globe/python/osgEarth/Features/Feature.sip
- +153 −0 src/plugins/globe/python/osgEarth/Features/FeatureSourceIndexNode.sip
- +8 −0 src/plugins/globe/python/osgEarth/Features/Features.sip
- +57 −0 src/plugins/globe/python/osgEarth/GeoCommon.sip
- +482 −0 src/plugins/globe/python/osgEarth/GeoData.sip
- +268 −0 src/plugins/globe/python/osgEarth/ImageLayer.sip
- +47 −0 src/plugins/globe/python/osgEarth/Layer.sip
- +361 −0 src/plugins/globe/python/osgEarth/Map.sip
- +202 −0 src/plugins/globe/python/osgEarth/MapNode.sip
- +192 −0 src/plugins/globe/python/osgEarth/ModelLayer.sip
- +154 −0 src/plugins/globe/python/osgEarth/ModelSource.sip
- +169 −0 src/plugins/globe/python/osgEarth/Revisioning.sip
- +325 −0 src/plugins/globe/python/osgEarth/SpatialReference.sip
- +357 −0 src/plugins/globe/python/osgEarth/Symbology/Geometry.sip
- +7 −0 src/plugins/globe/python/osgEarth/Symbology/Symbology.sip
- +263 −0 src/plugins/globe/python/osgEarth/Terrain.sip
- +917 −0 src/plugins/globe/python/osgEarth/Util/EarthManipulator.sip
- +155 −0 src/plugins/globe/python/osgEarth/Util/FeatureQueryTool.sip
- +11 −0 src/plugins/globe/python/osgEarth/Util/Util.sip
- +97 −0 src/plugins/globe/python/osgEarth/optional.sip
- +22 −0 src/plugins/globe/python/osgEarth/osgEarth.sip
- +16 −0 src/plugins/globe/python/qgsglobefeatureutils.sip
- +44 −0 src/plugins/globe/python/qgsglobeinterface.sip
- +85 −0 src/plugins/globe/qgsglobefeatureidentify.cpp
- +48 −0 src/plugins/globe/qgsglobefeatureidentify.h
- +59 −0 src/plugins/globe/qgsglobefrustumhighlight.cpp
- +44 −0 src/plugins/globe/qgsglobefrustumhighlight.h
- +48 −0 src/plugins/globe/qgsglobeinterface.cpp
- +46 −0 src/plugins/globe/qgsglobeinterface.h
- +532 −0 src/plugins/globe/qgsglobeplugindialog.cpp
- +83 −0 src/plugins/globe/qgsglobeplugindialog.h
- +665 −0 src/plugins/globe/qgsglobeplugindialog.ui
- +301 −0 src/plugins/globe/qgsglobetilesource.cpp
- +138 −0 src/plugins/globe/qgsglobetilesource.h
- +288 −0 src/plugins/globe/qgsglobevectorlayerproperties.cpp
- +121 −0 src/plugins/globe/qgsglobevectorlayerproperties.h
- +272 −0 src/plugins/globe/qgsglobevectorlayerpropertiespage.ui
- +153 −0 src/plugins/globe/qgsglobewidget.cpp
- +43 −0 src/plugins/globe/qgsglobewidget.h
- +0 −225 src/plugins/globe/qgsosgearthtilesource.cpp
- +0 −86 src/plugins/globe/qgsosgearthtilesource.h
- +20 −0 src/plugins/globe/qgsosgfeature.cpp
- +25 −0 src/plugins/globe/qgsosgfeature.h
@@ -0,0 +1,151 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<!-- Created with Inkscape (http://www.inkscape.org/) --> | ||
|
||
<svg | ||
xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
xmlns:cc="http://creativecommons.org/ns#" | ||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
xmlns:svg="http://www.w3.org/2000/svg" | ||
xmlns="http://www.w3.org/2000/svg" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||
width="16" | ||
height="16" | ||
viewBox="0 0 16 16" | ||
id="svg2" | ||
version="1.1" | ||
inkscape:version="0.91 r13725" | ||
sodipodi:docname="sync_views.svg"> | ||
<defs | ||
id="defs4"> | ||
<linearGradient | ||
inkscape:collect="always" | ||
id="linearGradient4158"> | ||
<stop | ||
style="stop-color:#0000ff;stop-opacity:1" | ||
offset="0" | ||
id="stop4160" /> | ||
<stop | ||
style="stop-color:#0000a9;stop-opacity:1" | ||
offset="1" | ||
id="stop4162" /> | ||
</linearGradient> | ||
<marker | ||
inkscape:stockid="Arrow2Mend" | ||
orient="auto" | ||
refY="0.0" | ||
refX="0.0" | ||
id="Arrow2Mend" | ||
style="overflow:visible;" | ||
inkscape:isstock="true"> | ||
<path | ||
id="path4171" | ||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1" | ||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z " | ||
transform="scale(0.6) rotate(180) translate(0,0)" /> | ||
</marker> | ||
<marker | ||
inkscape:stockid="Arrow2Mend" | ||
orient="auto" | ||
refY="0" | ||
refX="0" | ||
id="Arrow2Mend-8" | ||
style="overflow:visible" | ||
inkscape:isstock="true"> | ||
<path | ||
inkscape:connector-curvature="0" | ||
id="path4171-2" | ||
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1" | ||
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z" | ||
transform="scale(-0.6,-0.6)" /> | ||
</marker> | ||
<radialGradient | ||
inkscape:collect="always" | ||
xlink:href="#linearGradient4158" | ||
id="radialGradient4178" | ||
cx="7.9999766" | ||
cy="1040.8622" | ||
fx="7.9999766" | ||
fy="1040.8622" | ||
r="6.9999766" | ||
gradientTransform="matrix(1,0,0,0.49999621,0,520.43504)" | ||
gradientUnits="userSpaceOnUse" /> | ||
<radialGradient | ||
inkscape:collect="always" | ||
xlink:href="#linearGradient4158" | ||
id="radialGradient4178-3" | ||
cx="7.9999766" | ||
cy="1040.8622" | ||
fx="7.9999766" | ||
fy="1040.8622" | ||
r="6.9999766" | ||
gradientTransform="matrix(-1,0,0,0.49999621,16,527.43502)" | ||
gradientUnits="userSpaceOnUse" /> | ||
</defs> | ||
<sodipodi:namedview | ||
id="base" | ||
pagecolor="#ffffff" | ||
bordercolor="#666666" | ||
borderopacity="1.0" | ||
inkscape:pageopacity="0.0" | ||
inkscape:pageshadow="2" | ||
inkscape:zoom="18.5" | ||
inkscape:cx="0.59568033" | ||
inkscape:cy="10.721345" | ||
inkscape:document-units="px" | ||
inkscape:current-layer="layer1" | ||
showgrid="true" | ||
units="px" | ||
inkscape:snap-bbox="true" | ||
inkscape:bbox-paths="true" | ||
inkscape:bbox-nodes="true" | ||
inkscape:snap-bbox-edge-midpoints="true" | ||
inkscape:snap-bbox-midpoints="true" | ||
inkscape:object-paths="true" | ||
inkscape:snap-intersection-paths="true" | ||
inkscape:object-nodes="true" | ||
inkscape:snap-smooth-nodes="true" | ||
inkscape:window-width="1600" | ||
inkscape:window-height="829" | ||
inkscape:window-x="0" | ||
inkscape:window-y="0" | ||
inkscape:window-maximized="1"> | ||
<inkscape:grid | ||
type="xygrid" | ||
id="grid4136" /> | ||
</sodipodi:namedview> | ||
<metadata | ||
id="metadata7"> | ||
<rdf:RDF> | ||
<cc:Work | ||
rdf:about=""> | ||
<dc:format>image/svg+xml</dc:format> | ||
<dc:type | ||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | ||
<dc:title /> | ||
</cc:Work> | ||
</rdf:RDF> | ||
</metadata> | ||
<g | ||
inkscape:label="Layer 1" | ||
inkscape:groupmode="layer" | ||
id="layer1" | ||
transform="translate(0,-1036.3622)"> | ||
<g | ||
id="g4865"> | ||
<path | ||
style="fill:url(#radialGradient4178);fill-opacity:1;fill-rule:evenodd;stroke:#0000a9;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" | ||
d="m 1.5,1040.8622 0,1 8,0 0,2 5,-3 -5,-3 0,2 -8,0 z" | ||
id="path4156" | ||
inkscape:connector-curvature="0" | ||
sodipodi:nodetypes="ccccccccc" /> | ||
<path | ||
style="fill:url(#radialGradient4178-3);fill-opacity:1;fill-rule:evenodd;stroke:#0000a9;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" | ||
d="m 14.5,1047.8622 0,1 -7.9999996,0 0,2 -5,-3 5,-3 0,2 7.9999996,0 z" | ||
id="path4156-7" | ||
inkscape:connector-curvature="0" | ||
sodipodi:nodetypes="ccccccccc" /> | ||
</g> | ||
</g> | ||
</svg> |
@@ -0,0 +1,25 @@ | ||
/*************************************************************************** | ||
qgsplugininterface.sip | ||
-------------------------------------- | ||
Date : 21.8.2013 | ||
Copyright : (C) 2013 Matthias Kuhn | ||
Email : matthias dot kuhn at gmx dot ch | ||
*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
***************************************************************************/ | ||
|
||
class QgsPluginInterface : QObject | ||
{ | ||
%TypeHeaderCode | ||
#include "qgsplugininterface.h" | ||
%End | ||
|
||
// Should only be instantiated from subclasses | ||
private: | ||
QgsPluginInterface( QObject* parent = 0 ); | ||
}; |
@@ -0,0 +1,15 @@ | ||
/** \ingroup gui | ||
* \note added in 2.1 | ||
*/ | ||
class QgsMapLayerPropertiesFactory | ||
{ | ||
%TypeHeaderCode | ||
#include <qgsmaplayerpropertiesfactory.h> | ||
%End | ||
|
||
public: | ||
QgsMapLayerPropertiesFactory(); | ||
|
||
virtual QgsVectorLayerPropertiesPage* createVectorLayerPropertiesPage( QgsVectorLayer* layer, QWidget* parent ) = 0; | ||
virtual QListWidgetItem* createVectorLayerPropertiesItem( QgsVectorLayer* layer, QListWidget* view ) = 0; | ||
}; |
@@ -0,0 +1,15 @@ | ||
/** \ingroup gui | ||
* \note added in 2.1 | ||
*/ | ||
class QgsVectorLayerPropertiesPage : QWidget | ||
{ | ||
%TypeHeaderCode | ||
#include <qgsvectorlayerpropertiespage.h> | ||
%End | ||
|
||
public: | ||
explicit QgsVectorLayerPropertiesPage( QWidget *parent = 0 ); | ||
|
||
public slots: | ||
virtual void apply() = 0; | ||
}; |

Oops, something went wrong.
0 comments on commit
90887f4