46703 Commits

Author SHA1 Message Date
Denis Rouzaud
721095e89d add virtual destructor
fix warning: delete called on 'QgsEditorWidgetAutoConfPlugin' that is abstract but has non-virtual destructor
2018-03-28 11:49:41 +02:00
Denis Rouzaud
e252f5cd6f remove unused variables 2018-03-28 11:49:41 +02:00
Mathieu Pellerin
5fe1ea85bf
[needs-docs] Use QgsScaleBarRenderer to power up scale bar decoration (#6689)
Main short-term benefit: scale bar font size and family can be customized.
2018-03-28 15:55:48 +07:00
nirvn
14c057aeff Follow up a29c6a7d07: add missing ellipsis 2018-03-28 12:09:40 +07:00
Salvatore Larosa
a29c6a7d07 [needs-docs] Reorganisation of contextual menu for group and layer (#6665) 2018-03-28 11:20:22 +07:00
Salvatore Larosa
f75c0a80e6
Merge pull request #6680 from DelazJ/topol
Enable Topology Checker help button
2018-03-27 16:45:09 +02:00
Nyall Dawson
d24f8a3c5b Cleanup 2018-03-27 19:24:10 +11:00
Nyall Dawson
556668e067 Fix 'actions' button in attribute table dialog only shows menu after
extended click and hold
2018-03-27 19:24:10 +11:00
Nyall Dawson
9551471ebf Fix some attribute table columns do not remember their size 2018-03-27 19:24:10 +11:00
Nyall Dawson
4d40202121 Fix signal loop when resizing columns on opening attribute table 2018-03-27 19:24:10 +11:00
Nyall Dawson
3d8dd4913c Fix crash in attribute table when action column is visible and edit is
toggled
2018-03-27 19:24:10 +11:00
Nyall Dawson
1efb3cb9b0 Add missing /Out/ annotations 2018-03-27 17:34:24 +10:00
Nyall Dawson
4bfc808ee6 Add some circle intersection and tangent utilities to QgsGeometryUtils 2018-03-27 17:44:25 +11:00
Harrissou Sant-anna
0c59bc540e fix indentation 2018-03-26 23:16:10 +02:00
Salvatore Larosa
a0430ec63e set correctly the delete button layout (#4) 2018-03-26 23:09:51 +02:00
Nyall Dawson
8e08bda46c [processing][grass] Fix incorrect path calculation for grass binary 2018-03-27 07:10:37 +11:00
Nyall Dawson
bec878f6f9 [processing][grass] Fix error after running grass algorithms 2018-03-27 07:10:37 +11:00
Harrissou Sant-anna
650f526975 Enable Topology Checker help button
refs #18550
2018-03-26 22:03:24 +02:00
Matthias Kuhn
7b8603c306
Merge pull request #6637 from DelazJ/layouteditor
Add toolTip to layout editor option in vector layer attributes form properties
2018-03-26 16:18:58 +02:00
Mathieu Pellerin
3f153e91b8
[copyright decorator] improve default label string
- Instead of using (c) QGIS YYYY, rely on the project metadata
to insert the author name. It's a more useful default string,
and might help avoid a misconception about ownership of maps
produced in QGIS.
2018-03-26 16:33:30 +07:00
Nyall Dawson
2b8519c017 Fix cannot set tolerance unit in simplify tool 2018-03-26 14:27:15 +10:00
Nyall Dawson
4f16e01e97 Fix value map field formatter doesn't work
The configuration format was changed without updating the unit
tests to flag this failure.
2018-03-26 11:02:07 +11:00
Pierre
ce34646cfc talking about "ninja qgis" in install.txt (#6670) 2018-03-26 09:00:08 +10:00
William Kyngesburye
bf8b1e90da Mac packaging updates 2018-03-24 11:17:44 -05:00
Marco Bernasocchi
20c071b515 Add support for imports from qgis.PyQt
this adds support to imports from the qgis.PyQt packages like
from qgis.PyQt.QtGui import (QCheckBox, QIcon)

this kind of imports are already used by some plugins
without having the PyQt5 structure of packages (i.e. they use
from qgis.PyQt.QtGui import (QCheckBox, QIcon) instead of
from qgis.PyQt.QtGui import (QIcon)
from qgis.PyQt.QtWidgets import (QCheckBox)
2018-03-24 15:31:36 +01:00
Marco Bernasocchi
ac09795900 add a warning when unsupported imports are detected
Works for example with imports like import PyQt4.QtGui
2018-03-24 15:31:36 +01:00
Daniele Viganò
9f73854d4e Improve package upgrade path from QGIS 2 to QGIS 3 with RPM 2018-03-24 15:25:16 +01:00
Alessandro Pasotti
5eb9ab4813
Merge pull request #6644 from elpaso/gml-inverted-axis
Add axisOrder to QgsAbstractGeometry GML generators
2018-03-24 12:50:13 +01:00
Salvatore Larosa
2220a6eadd
Merge pull request #6667 from slarosa/fix_18530
Fixes #18530: Removing project item from Welcome screen crashes QGIS
2018-03-24 12:30:07 +01:00
Salvatore Larosa
af6ad23048 Fixes #18530: Removing project item from Welcome screen crashes QGIS 2018-03-24 11:34:53 +01:00
Salvatore Larosa
5d34584b01 Revert "[TEMPORARY]"
This should not have happened :-(

This reverts commit bc45258b510b8e17d9a2006f4906a255559a9297.
2018-03-23 22:43:41 +01:00
Salvatore Larosa
3a5fb9d7bd Fixes #18526: Pasting data from clipboard inside Python console causes the text cursor to be moved to the end of the row 2018-03-23 22:41:00 +01:00
Salvatore Larosa
bc45258b51 [TEMPORARY] 2018-03-22 12:20:52 +01:00
Hugo Mercier
4c4e8ac18a
Merge pull request #6085 from lbartoletti/ccache
Use ccache if available
2018-03-22 08:32:29 +00:00
Nyall Dawson
c8f597983b Fix crash in attribute form after adding field
Fixes #18507
2018-03-22 16:23:51 +10:00
Nyall Dawson
6b1255b4d9 Remove autogenerated metadata when loading an older project 2018-03-22 16:13:30 +11:00
Nyall Dawson
37c5dd9301 Add settings key to anonymize new projects
Defaults to false, but if set will not automatically set
metadata for newly created projects such as author
and creation date.
2018-03-22 16:13:30 +11:00
Nyall Dawson
2eacc4c4b4 [FEATURE][layouts] Export project metadata in PDF/image exports
Includes project metadata in PDF exports, and supported image
based formats.

Image based metadata support depends on the format and the
Qt library's handling of each particular format (e.g. PNG
outputs are well supported).

Developed for Arpa Piemonte (Dipartimento Tematico Geologia e Dissesto)
within ERIKUS project
2018-03-22 16:13:30 +11:00
Nyall Dawson
1d4ff69553 Fix unit test 2018-03-22 16:13:30 +11:00
Nyall Dawson
a600b51bad [FEATURE][layouts] Export project metadata as SVG RDF metadata
Adds an option to include project metadata into SVG exports
generated from layouts, using the SVG RDF standard.

Developed for Arpa Piemonte (Dipartimento Tematico Geologia e Dissesto)
within ERIKUS project
2018-03-22 16:13:30 +11:00
Nyall Dawson
18408fa2c1 [FEATURE] Add expression context variables for project metadata
- @project_author
- @project_abstract
- @project_creation_date
- @project_identifier
- @project_keywords

Allows retrieval of project metadata through QGIS expressions

Developed for Arpa Piemonte (Dipartimento Tematico Geologia e Dissesto)
within ERIKUS project
2018-03-22 16:13:30 +11:00
Nyall Dawson
288bb1a872 When a new project is created, default to setting the metadata
author to the current logged on user name
2018-03-22 16:13:30 +11:00
Nyall Dawson
f435f62364 Standardise capitalisation 2018-03-22 16:13:30 +11:00
Nyall Dawson
df56de01a7 Update more labels to reflect project metadata in widget 2018-03-22 16:13:30 +11:00
Nyall Dawson
681cd41185 Synchronize project title field and project metadata title
field in project properties dialog

Since these two are equivalent, we automatically keep them
in sync.
2018-03-22 16:13:30 +11:00
Nyall Dawson
6ce184de79 Add tests for QgsMetadataWidget 2018-03-22 16:13:30 +11:00
Nyall Dawson
accdc23e0b Fix sip subclassing of metadata subclasses 2018-03-22 16:13:30 +11:00
Nyall Dawson
016f2288c6 Fix accidental class rename 2018-03-22 16:13:30 +11:00
Nyall Dawson
665f3e4cfc Spelling 2018-03-22 16:13:30 +11:00
Nyall Dawson
8bc45769df [FEATURE] Add metadata to QGIS projects
Allows for detailed metadata to be set in project properties,
including abstracts, keywords, contact details, links, etc.

Developed for Arpa Piemonte (Dipartimento Tematico Geologia e Dissesto)
within ERIKUS project
2018-03-22 16:13:30 +11:00