3767 Commits

Author SHA1 Message Date
Juergen E. Fischer
487a7a00b7 fix 'allows to/allows one to' spell errors and enhance to our spellchecker to deal with those 2017-08-06 17:34:22 +02:00
Denis Rouzaud
06f9842637 rename symbology-ng to symbology 2017-08-06 14:18:57 +02:00
Etienne Trimaille
5100d85c49 add category in QgsLayerMetadata using keywords 2017-08-05 09:12:48 +02:00
Alexander Bruy
f96442884b Merge pull request #4954 from alexbruy/processing-band
[FEATURE][needs-docs][processing] add parameter representing raster band
2017-08-04 15:17:49 +03:00
Matthias Kuhn
b20f4c6729 Merge pull request #4845 from pblottiere/zip
[FEATURE] New zip format
2017-08-04 13:46:24 +02:00
Alexander Bruy
9fe326dee2 [processing] more consistent naming for class members, setters and
getters
2017-08-04 13:21:26 +03:00
Alexander Bruy
49bfe69823 [processing] add parameter representing raster band 2017-08-04 11:27:35 +03:00
Nyall Dawson
820e3422c8 Remove invalid return from API doc, remove some redundant inclusions 2017-08-03 06:46:41 +10:00
Alexander Bruy
0476d4e2da [API] method to retrieve corresponding GDAL driver from a file
extension
2017-08-01 14:52:25 +03:00
Blottiere Paul
86c63a15b6 Set an attribute as private instead of protected 2017-07-31 11:09:15 +01:00
Blottiere Paul
74b3823278 Update sip binding 2017-07-31 11:09:15 +01:00
Blottiere Paul
d551f9b90d Update documentation for QgsProjectArchive 2017-07-31 11:09:15 +01:00
Blottiere Paul
a7959b777a Update sip binding 2017-07-31 11:09:14 +01:00
Blottiere Paul
1d8574e436 Temporary .qgs files are deleted 2017-07-31 11:09:14 +01:00
Blottiere Paul
576afe5aa3 Add a QgsProjectArchive class to keep QgsArchive generic 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
Blottiere Paul
7c85b200e6 Add utilities functions for zip support 2017-07-31 11:09:14 +01:00
Nyall Dawson
ecaee1a3f2 QgsGeometry::vertexAt now returns QgsPoint, not QgsPointXY
Since it's easy to convert from a QgsPoint to a QgsPointXY,
but impossible to recover the Z/M values lost by only
returning a QgsPointXY.
2017-07-28 11:48:50 +10:00
Nyall Dawson
f7b25a17b1 Allow setting layer type filter for QgsProcessingParameterVectorLayer
Turns out this is required for some algorithms
2017-07-27 14:30:04 +10:00
Nyall Dawson
cf042dc5dd Merge pull request #4838 from aaime/textsymbolizer_sc
SLD label exports. fixes #8925
2017-07-26 21:09:19 +10:00
Andrea Aime
5cfed129b5 Ading all other labelling options supported by SLD. fixes #8925 2017-07-26 11:38:29 +02:00
Nyall Dawson
f0a6376adb Merge pull request #4910 from nyalldawson/layout_next
Layouts, chapter III
2017-07-26 17:03:36 +10:00
Nyall Dawson
11dd4170de Try to balance UI element sizes on windows builds 2017-07-26 14:46:30 +10:00
Nyall Dawson
383422f069 Fix "wrapped object has been deleted" errors in Processing
Ownership of Python subclass algorithm instances was getting
mangled due to passing through multiple functions with /Factory/
annotations.

As per Phil Thomson's advice on
https://www.riverbankcomputing.com/pipermail/pyqt/2017-July/039450.html:
"
/Factory/ is used when the instance returned is guaranteed to be
new to Python. In this case it isn't because it has already been
seen when being returned by createInstance(). (However for a different
sub-class implemented in C++ then it would be the first time it was seen
by Python so the /Factory/ on create() would be correct.)

You might try using /TransferBack/ on create() instead - that might be
the best compromise.
"

Changing to /TransferBack/ indeed fixes the error for me.
2017-07-26 07:03:16 +10:00
Nyall Dawson
213064a8af Fix layout context flags not being respected when rendering items 2017-07-25 12:54:58 +10:00
Nyall Dawson
cdb0ace28e Try to fix sip item casting clashing between composer items and layout items
Add a temporary hack to QgsComposerItem subclassing to handle this
for now.
2017-07-25 12:54:58 +10:00
Nyall Dawson
fabfd77c2b Show known page size when opening page properties if current page size matches 2017-07-25 12:54:58 +10:00
Nyall Dawson
a3e26785f8 [needs-docs] Start on right click menu for layouts
Currently only contains option for removing the current
page and (non-functional) option for setting current page
properties
2017-07-25 12:54:58 +10:00
Nyall Dawson
e885966cb6 Add method to retrieve page at a specified layout position 2017-07-25 12:54:58 +10:00
Nyall Dawson
1e4c95431c Don't use constant space between pages - doesn't work well for non mm units 2017-07-25 12:54:58 +10:00
Nyall Dawson
8044353aa7 Show correct unit type in status bar 2017-07-25 12:54:57 +10:00
Nyall Dawson
0ab3b8e0ad Fix cursor position display for multipage layouts 2017-07-25 12:54:57 +10:00
Nyall Dawson
416e1e4bbf Fix drawing of rulers with multipage layouts 2017-07-25 12:54:57 +10:00
Nyall Dawson
4cf9827ca2 Draw page shadow in layout units
Simplifies code a lot, pixel based size proved to complex for
small result
2017-07-25 12:54:57 +10:00
Nyall Dawson
5cfc9cc655 Add a dialog for inserting new pages into a layout 2017-07-25 12:54:57 +10:00
Nyall Dawson
39bf23a5d5 Start on reflow support for page collections (needs tests) 2017-07-25 12:54:57 +10:00
Nyall Dawson
79a4694177 Add support for adding/removing pages to a collection 2017-07-25 12:54:57 +10:00
Nyall Dawson
ea32391280 Add methods for handling page size to QgsLayoutItemPage 2017-07-25 12:54:57 +10:00
Nyall Dawson
9df4a67d6d Add a page collection to layouts, and start porting composer page items 2017-07-25 12:54:57 +10:00
Nyall Dawson
3cf06db467 Port item id and uuid code 2017-07-25 12:54:57 +10:00
Nyall Dawson
a515e953b8 Add support for reading/writing item properties to XML 2017-07-25 12:54:57 +10:00
Nyall Dawson
09dd6db97b Add API to save/restore QgsLayoutObject properties to XML 2017-07-25 12:54:57 +10:00
Mathieu Pellerin
778e84ba7b [FEATURE] Add copy to clipboard function to save as image (#4914)
Sponsored by Andreas Neumann.
2017-07-25 08:50:03 +07:00
Denis Rouzaud
33071f4720 fix doxymentation 2017-07-24 13:44:25 +02:00
Nyall Dawson
d055def2d1 Merge pull request #4907 from nyalldawson/symbol_button
New QgsSymbolButton widget
2017-07-24 20:29:14 +10:00
Nyall Dawson
78b05c1a7f Allow copying and pasting symbols between QgsSymbolButtons 2017-07-24 16:57:30 +10:00
Nathan Woodrow
12c634cef3 Load default profile name from global
Also adds overrideLocalProfile to ignore local profiles.ini file
2017-07-24 14:52:10 +10:00
Nathan Woodrow
e37f682cca Also load profiles-path from global settings 2017-07-24 14:20:09 +10:00