Blottiere Paul
a550a32719
Auxiliary layers may be created or loaded from auxiliary storage
2017-10-09 05:01:34 +01:00
Blottiere Paul
456ca000a7
Rename methods
2017-09-06 15:22:39 +01:00
Blottiere Paul
8a17a608e1
Trust is now a project option instead of a global option
2017-09-06 15:22:38 +01:00
Alessandro Pasotti
1c3fadebbb
Sip update for qgsproject
2017-08-09 08:59:17 +02:00
Blottiere Paul
a7959b777a
Update sip binding
2017-07-31 11:09:14 +01:00
Blottiere Paul
75811ef76b
Update documentation and sip binding
2017-07-31 11:09:14 +01:00
Blottiere Paul
f155030e63
[FEATURE] Add the possibility to save/open a project in .qgz
2017-07-31 11:09:14 +01:00
Blottiere Paul
86389d185c
[FEATURE] Project may be zipped/unzipped
2017-07-31 11:09:14 +01:00
Martin Dobias
51e7efe218
Replace QString::null by QString() in core (deprecated since Qt 5.9)
2017-06-06 11:36:41 +02:00
Blottiere Paul
c85cf23344
Update sip binding
2017-05-30 10:50:28 +02:00
Denis Rouzaud
68b990b3bb
sipify batch
...
python/core/qgspaintenginehack.sip
python/core/qgspainting.sip
python/core/qgspallabeling.sip
python/core/qgspathresolver.sip
python/core/qgspluginlayer.sip
python/core/qgspluginlayerregistry.sip
python/core/qgspointlocator.sip
python/core/qgsproject.sip
python/core/qgsprojectbadlayerhandler.sip
python/core/qgsprojectproperty.sip
python/core/qgsprojectversion.sip
python/core/qgssnappingconfig.sip
2017-05-18 09:41:16 +02:00
Nyall Dawson
b5ae888b60
Merge pull request #4478 from nyalldawson/layer_store
...
Split off map layer storage handling from QgsProject to QgsMapLayerStore
2017-05-06 13:00:05 +10:00
Denis Rouzaud
85f3b81b55
remove double spaces in sip files
...
fix indentation
2017-05-03 08:02:14 +02:00
Nyall Dawson
d2ce9c69b1
Allow access to project's internal layer store, remove some duplicate code
2017-05-03 07:35:47 +10:00
Denis Rouzaud
7d459149c7
[sip] align missing bits and replace nullptr by 0
2017-05-02 08:09:53 +02:00
Denis Rouzaud
93971d5ed3
[sip] align pointer and reference in blacklisted files
...
this will facilitate sip diff checking
2017-05-01 17:49:43 +02:00
Nyall Dawson
a5e33fa93c
Add method to take layer and ownership from a project
2017-04-26 16:48:27 +10:00
Martin Dobias
25ed76b86e
Move labeling engine config to a new class + QgsPalLabeling cleanup
...
Another bit to make core library independent from QgsProject::instance().
Until now labeling engine configuration was taken from project singleton.
Removed legacy methods from QgsPalLabeling - the class now does not have
any more member variables/methods, it is just a bunch of helper functions.
(PR #4384 )
2017-04-21 18:04:09 +08:00
Nyall Dawson
dd6c7fdbc8
Add a QgsProject::ellipsoidChanged signal
2017-04-20 15:46:28 +10:00
Matthias Kuhn
f33aabd90a
Completely move layer order to core
2017-03-23 15:29:12 +01:00
Nyall Dawson
b6c76186b4
Restore opening existing composers
2017-03-21 10:32:53 +10:00
Nyall Dawson
6cfc6a1b98
Allow retrieval of project layer order through QgsProject
...
Previously this was only accessible through app
2017-03-13 12:52:55 +10:00
Matthias Kuhn
7dbe4943d6
Notify about QgsProject::crs changes
2017-03-06 18:06:11 +01:00
Juergen E. Fischer
a10c890383
More QgsSettings updates:
...
* revives WMS
* QgsSettings::clear() added
* section added to QgsSettings::contains()
* type parameter added to sip binding of QgsSettings.value()
* TODO: customization & evis
2017-03-04 02:37:59 +01:00
Denis Rouzaud
5176ecf597
[needs-docs] keyboard shortcut to toggle snapping (S)
...
Pressing the key "S" will toggle snapping. This helps to quickly
enable/disable snapping while digitizing.
2017-02-28 12:13:41 +01:00
Matthias Kuhn
382b213ed1
Remove "the"-prefix from method signatures
2017-02-20 08:45:54 +01:00
Martin Dobias
5f5c1ddb15
Use a path resolver class instead of QgsProject::instance() in map layers
...
A new class QgsPathResolver is introduced for conversion between absolute
and relative paths when reading/writing XML.
Cleaned up code in layer definition file support (.qlr) to better handle
relative/absolute path conversion.
2017-02-16 09:56:11 +08:00
Denis Rouzaud
f85ac23cde
fix version in added note
2017-01-31 10:03:33 +01:00
Nyall Dawson
4058f4734b
Annotations are now handled at a project level
...
This commit implements a new QgsAnnotationManager class, which
handles storage, writing and retrieval of annotations.
QgsProject has an annotationManager() attached to it. Map canvases
sync their visible QgsMapCanvasAnnotationItems to the annotations
contained within the project's annotation manager.
This moves all management, storage and retrieval of annotations
up to core and out of app/canvas.
2017-01-30 14:57:16 +10:00
Martin Dobias
0513bb357c
Make QgsGeometry independent from QgsProject + better avoid intersections API
2017-01-07 11:50:08 +08:00
Martin Dobias
46252b5cd0
fix doxygen warning
2017-01-04 20:58:21 +08:00
Martin Dobias
6c5956b22b
QgsProject: cleanup of read/write method + removal of unused bad layer handler class
2017-01-04 20:29:53 +08:00
Harrissou Sant-anna
ef85cdcf83
Replace "eg" by "e.g." or "for example"
2016-12-30 00:03:22 +01:00
Matthias Kuhn
33abb78ac5
Pass variable values as QVariant
2016-12-22 20:21:21 +01:00
Matthias Kuhn
79f32ab6b2
Rename QgsProject::variables to QgsProject::customVariables
2016-12-22 20:21:21 +01:00
Matthias Kuhn
cbac49b63b
Add QgsProject::write( filename ) convenience function
2016-12-21 17:39:58 +01:00
Martin Dobias
57ff36bc01
Make it possible to use project as non-singleton
...
This is just a first step - it will be a long way to get rid of all
the usages of singleton instance in QGIS code.
2016-12-11 17:49:24 +08:00
Martin Dobias
d56a97d4fe
Merge QgsMapLayerRegistry into QgsProject
...
All methods/signals of QgsMapLayerRegistry moved verbatim to QgsProject.
2016-12-10 15:18:12 +08:00
arnaud.morvan@camptocamp.com
a8d9dea1fb
Add QgsExpressionContextGenerator inheritances in sip
2016-11-06 17:58:54 +01:00
Nyall Dawson
44289084e9
Optimise passing of variables by ref/value
2016-10-24 10:36:23 +10:00
Matthias Kuhn
96a649e37f
Add missing bindings
2016-10-23 21:14:42 +02:00
Matthias Kuhn
54b953f433
Cleanup and modernize QgsProject code
2016-10-23 20:54:41 +02:00
Matthias Kuhn
85c105d6b0
Move management of avoidIntersectionLayers to QgsProject
2016-10-20 12:56:35 +02:00
Matthias Kuhn
5c919fbcca
Move topological editing setting management fully to QgsProject
2016-10-20 12:56:35 +02:00
Denis Rouzaud
64d3c788f1
Use toolbar or status bar for snapping config
2016-10-20 12:56:35 +02:00
Matthias Kuhn
e0fc641402
Show commit errors in transaction mode
2016-10-18 15:47:42 +02:00
Nyall Dawson
ecee43814a
Fix changing project CRS from legend doesn't correctly set CRS
...
Also avoid fragile duplicated code for setting/retrieving
common project properties
Fixes #15717
2016-10-18 09:55:56 +10:00
Nyall Dawson
fe65063c2b
Remove many deprecated methods
2016-09-15 18:34:15 +10:00
Matthias Kuhn
bcae877fab
Fix doxygen
2016-08-19 16:53:54 +02:00
Matthias Kuhn
58ea21124e
Streamline expression context generation ( #3350 )
...
* Save more data to QML
* Virtual fields
* Map tips
* Display expression
* Read only flag
* Streamline expression context generation
Whenever an object is able to generate an expression context it
implements the method createExpressionContext() declared in
QgsExpressionContextGenerator.
This makes a cleaner API and allows using QgsFieldExpressionWidget and
QgsDataDefinedButton from python because standard OO programming
approaches are used instead of callbacks and void pointers.
* Colorize output of doc and sip tests
* Fix build
* Fix sip complaints
* Fix rebase problems
* Workaround failing bindings test
2016-08-10 19:44:30 +02:00