11976 Commits

Author SHA1 Message Date
Borys Jurgiel
cef2db9ae3
Merge pull request #5904 from borysiasty/pyQgisVersion
Make QGIS 2.99 compatible with 3.0 plugins by introducing PyQGIS API version
2018-01-03 18:09:24 +01:00
Denis Rouzaud
69cfdc4fcf rename static variables
since they're not really default values
2018-01-03 12:21:17 -04:00
Denis Rouzaud
919cbec7b2 add a bool in config to determine if it uses Qt::ISODate for field format
also fixes the fact that the display format of QDateTimeEdit only accepts string formats, so in case of Qt::ISODate use a default date/time with zmne zone
2018-01-03 11:28:05 -04:00
Denis Rouzaud
1710dc0587 fix date/time widget for field with time zones
this adds a new format of date/time to use Qt::ISODate format
the issue is that QDate::fromString does not recognize the t letter for the timezone in format
this a hack since any field_format needs to be tested if it corresponds to QgsDateTimeFieldFormatter::DEFAULT_ISO_FORMAT and in such case replace by Qt::ISODate instead of a format string
2018-01-03 10:01:53 -04:00
Denis Rouzaud
230e91c44b [date time widget] do not use minimumDateTime for NULL values
fixes issue when setting min and max values for the widget
2018-01-02 20:41:24 -04:00
Nyall Dawson
21296982e1 Link metadata widget to canvas
So that child widgets which can take properties from canvas
can have full functionality
2018-01-03 11:06:46 +11:00
Denis Rouzaud
39b183fef4 remove include and forward declarations left-overs 2018-01-01 20:09:46 -04:00
Denis Rouzaud
7237dab6ec [QDateTimeEdit] use QLineEdit::addAction
instead of custom tool button
this seems to solve many issues :)
kudos to @nyalldawson for pointing to it
and a happy new year!
2018-01-01 20:09:46 -04:00
Denis Rouzaud
86feed4955 [QgsDateTimeEdit] use special value text to handle NULL values
the widget now uses a special value text to display NULL rather than painting a QLineEdit on top

a press on the spinbox buttons (non-calendar mode) is catch to set to current date to avoid starting at the minimum date
2018-01-01 20:09:46 -04:00
luzpaz
626781a63a Typo fixes
+ added word to spelling.dat
2017-12-31 09:14:09 +11:00
Médéric RIBREUX
5a3a0dab95 Remove broken algorithms and clean code 2017-12-30 17:16:16 +01:00
Médéric RIBREUX
486bcd6f24 Fix all i.* ext scripts 2017-12-29 17:13:30 +01:00
Médéric RIBREUX
e712ee6266 Fix v.net.report descriptions' 2017-12-28 18:37:17 +01:00
Médéric RIBREUX
14709f59f4 Fix nearly all v. ext scripts 2017-12-28 18:28:18 +01:00
Borys Jurgiel
4783af674e
Merge pull request #5952 from borysiasty/plugin-notification
[Plugin installer][needs-docs] Display notifications as an icon rather than a text
2017-12-28 09:37:59 +01:00
Borys Jurgiel
e69fa14455 [Plugin installer] Desaturate toolbar icons 2017-12-27 22:51:08 +01:00
Médéric RIBREUX
90bf630185 Fix all r algorithms ext scripts! 2017-12-27 20:13:05 +01:00
Médéric RIBREUX
8b691e87aa Handle raster files wihtout extension as GTiff + fix some ext scripts 2017-12-27 17:41:05 +01:00
Médéric RIBREUX
1f8fbf313f Fix r.li.* description files and ext scripts 2017-12-27 15:35:17 +01:00
Nyall Dawson
e7e37efed7
Merge pull request #5926 from nyalldawson/proc_dialog
[processing] Add api to show algorithm dialog, use dialog for history
2017-12-27 22:34:13 +11:00
Médéric RIBREUX
9b6f98a31a Hidden output parameters are not used in the main command anymore 2017-12-27 12:08:21 +01:00
Médéric RIBREUX
feaecea44d Fix multiple ParameterField handling 2017-12-27 11:52:01 +01:00
Médéric RIBREUX
36311ff6af Fix multiple enum parameters handling and some ext scripts 2017-12-27 11:16:14 +01:00
Alexander Bruy
d58053d486 [processing] restore script collection creator (fix #17649) 2017-12-27 11:41:08 +02:00
Médéric RIBREUX
3fa9e3c9f8 Fix QgsProcessingParameterFile bad descriptions 2017-12-27 10:19:51 +01:00
Borys Jurgiel
63e5558297 [Plugin installer] Move the status bar label to the right and make it less verbose 2017-12-27 08:05:23 +01:00
Mathieu Pellerin
3b8905209e
[processing] harmonize and improve UI spacing 2017-12-27 10:50:52 +07:00
Borys Jurgiel
3a52412c20 [Plugin installer][needs-docs] Display an icon rather than a text in the status bar when new a plugin or plugin upgrade is available 2017-12-26 21:22:37 +01:00
Médéric RIBREUX
433d376c8a Fix optional None input parameters handling 2017-12-26 18:53:30 +01:00
Médéric RIBREUX
5321ee5ea2 Update TODO list 2017-12-26 18:28:21 +01:00
Alexander Bruy
9fb386ac60
Merge pull request #5945 from medspx/ProcessingGrassFixDescV
[Processing] Fix description files for GRASS provider
2017-12-25 09:40:36 +02:00
Médéric RIBREUX
a540a93e24 Fix i.modis.qc description file 2017-12-23 10:24:52 +01:00
Nyall Dawson
2872f69e20 Reluctantly participate in the Americanization of the world 2017-12-23 18:48:03 +11:00
Nyall Dawson
c7e37e89eb [sipify] Correctly convert doxygen warning blocks to sphinx warnings 2017-12-23 18:48:03 +11:00
Nyall Dawson
87b8a370e9 Expand QgsCoordinateTransform docs 2017-12-23 18:48:03 +11:00
Alexander Bruy
1e06abb143
Merge pull request #5943 from borysiasty/zip-reloading
[Plugin Manager] Reload manager contents after installing a plugin from zip.
2017-12-23 09:22:32 +02:00
Nyall Dawson
6ac6939bf8 Sipify 2017-12-23 14:21:32 +10:00
Borys Jurgiel
c0b56a3a65 [Plugin Manager] Reload manager contents after installing a plugin from zip. Fixes #17626 2017-12-22 23:47:53 +01:00
Tom Kralidis
04b18f4d43 [bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries
(fixes #17739)
2017-12-22 16:21:25 -05:00
Tom Kralidis
e16dfe4ff0
MetaSearch: remove duplicate field 2017-12-22 09:21:39 -05:00
Nyall Dawson
4ff72de62e
Merge pull request #5858 from lbartoletti/segment_intersection
Segment intersection
2017-12-22 21:43:13 +11:00
Trashmonk
d908518c49 Update Rasterize.py 2017-12-21 17:55:02 +01:00
Trashmonk
82df4de88a Update Rasterize.py 2017-12-21 17:55:02 +01:00
Trashmonk
4fbea38439 Added transparency to areas with no vector data.
Originally the background colour defaulted to white with no transparency for areas without vector data. I have added an alpha channel to the geotiff and set it zero (full transparency) for areas with no vector data. This could be optional, in case the user wants a solid background.
2017-12-21 17:55:02 +01:00
nirvn
0a40a81151 [layouts] add icons for items and use those in the items panel 2017-12-21 10:33:24 +07:00
Nyall Dawson
b25681cc43 [needs-docs][processing] Double clicking a history entry shows
the algorithm dialog instead of immediately executing same alg

This allows users to edit the parameters before re-running,
which is a more common user-operation (e.g. changing the
input layer, changing a parameter value "oops, that buffer
was a bit too big....").

If someone wants to exactly re-run the algorithm without changes
it's only one extra click anyway...
2017-12-21 11:01:56 +10:00
Nyall Dawson
5f7aa45aab [needs-docs][processing] Add methods to show algorithm dialog
Adds processing.createAlgorithmDialog and
processing.execAlgorithmDialog. These methods can be used
to create and execute algorithm dialogs for a specified algorithm,
optionally pre-populated with a given set of (non-default) parameter
values.
2017-12-21 11:01:49 +10:00
Nyall Dawson
54910fc3ce Fix algorithm dialog window geometry save/restore 2017-12-21 10:43:49 +10:00
Nyall Dawson
ce28cf5087 Save algorithm results to dialog 2017-12-21 10:38:38 +10:00
Nyall Dawson
edcd058e32 [processing] Add a setParameters method to AlgorithmDialog
Allows pre-populating the dialog with non-default parameter
values.
2017-12-21 10:22:19 +10:00