Denis Rouzaud
e99f54854b
sipify batch
2017-05-23 10:35:12 +02:00
Martin Dobias
23a7bd0fd9
Introduce QgsReadWriteContext that encapsulates QgsPathResolver
...
This should make the read/write methods more flexible if we need to give them extra context.
2017-05-13 18:09:26 +08:00
Denis Rouzaud
85f3b81b55
remove double spaces in sip files
...
fix indentation
2017-05-03 08:02:14 +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
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
Martin Dobias
8ba609e516
Tidy up layer definitions code + removal of QgsProject::instance()
...
Moved code related to layer definitions away from QgsMapLayer
2017-01-29 23:22:37 +08:00
Nyall Dawson
c3a57434d9
Fix clazy 'pass small and trivially-copyable type by value' warnings
2016-02-02 19:47:21 +11:00
Hugo Mercier
7e5915ec79
Allow to embed layers with dependencies
2016-01-07 14:37:23 +01:00
Hugo Mercier
1a1af3788c
Rework layer dependencies to work also with layer definition files
2016-01-07 14:03:15 +01:00
Sebastian Dietrich
b2b44ccca9
split generating XML and saving to QLR-file into separate functions
...
This increases flexibility and is consistent with the loading of a QLR-file.
2016-01-01 21:34:22 +01:00
Nyall Dawson
c49b5b777f
Change a lot of arguments to const references in core/gui
...
Rationale:
- there was a lot of large objects passed by value, so potentially
there's a speed bump from this
- even for implicitly shared classes like QString/QList there's still
a (small) cost for copying the objects when there's no reason to
- it's the right thing to do!
2015-10-07 12:02:04 +11:00
Nyall Dawson
7314047698
Fix missing doc strings due to invalid doxygen tags
2015-04-30 17:26:58 +10:00
Juergen E. Fischer
80bbed1595
include qgslayerdefinition.sip in bindings
2015-03-24 13:19:03 +01:00
Nathan Woodrow
6166eccc84
Add spacing above function editor combo. API docs for QgsLayerDefinition
2015-01-19 16:42:30 +10:00
Nathan Woodrow
8944ff7a48
Add group support for QLR files
...
Add class for handling QLR files. Add sip bindings
Funded by Nicholas Duggan
2015-01-19 14:25:15 +10:00