46216 Commits

Author SHA1 Message Date
Nyall Dawson
f340eecc87 [delimited] Don't reset geometry type from "No geometry" when
changing other settings

Fixes #17971
2018-02-09 13:33:55 +11:00
Nyall Dawson
2d1e9188f1 [processing] Allow providers to return a different helpId() vs
their unique id()

This is used when generating the QgsHelp url for algorithms
attached to the providers.

Implement helpId overrides for the native and 3d providers so
that they return 'qgis' helpIds, meaning that all QGIS processing
algorithm documentation can be kept within the same url path
regardless of which QGIS provider library it sits within.

This also allows us to freely move algorithms from the Python
'qgis' provider to c++ 'native' provider in future releases
without breaking the help URLs.

Fixes #17231
2018-02-09 11:26:03 +10:00
Nyall Dawson
9da5fd325e Always save newly created features, even if no attributes are
modified in the form popup after feature creation

Fixes #18056
2018-02-09 11:44:48 +11:00
Alessandro Pasotti
4bd385ff39 [mxe] autopep8 2018-02-08 18:28:40 +01:00
Alessandro Pasotti
b817a3f843 [mxe] Fix typos and qt.conf 2018-02-08 18:25:32 +01:00
Alexander Bruy
068d74d51a [processing] allow enums values to be used in description files 2018-02-08 17:22:20 +02:00
Alessandro Pasotti
1dd6db384f [mxe] Add install instructions for mxe 2018-02-08 13:38:27 +01:00
Alessandro Pasotti
d19eef0c59 [mxe] Restore build 2018-02-08 13:38:20 +01:00
Alexander Bruy
fcb50a6857 Revert "[processing] throw error if no layers selected in raster calculator"
This reverts commit c09c3018035eb7a4f47acbde7f3dae405ba444db.
2018-02-08 13:25:20 +02:00
nirvn
b6ff401452 [raster calc] make use of qgsfilewidget and fix some labels 2018-02-08 17:08:33 +07:00
nirvn
a29d6d27d2 [raster calc] use active layer to setup dialog to harmonize
the behavior with that of processing
2018-02-08 17:08:33 +07:00
nirvn
50a103f5b8 [raster calc] use new API to save/restore geometry 2018-02-08 17:08:33 +07:00
nirvn
90e353bc1c [raster calc] use a monospace font for the expression editor (fixes #17556) 2018-02-08 17:08:33 +07:00
nirvn
605bb75876 [raster calc] cancelling the process should cancel the process 2018-02-08 17:08:33 +07:00
Alessandro Pasotti
6eac6ac8cb [cmake] MXE build changes 2018-02-08 09:30:09 +01:00
Juergen E. Fischer
fb53ebfee5 fix xenial build 2018-02-08 08:44:09 +01:00
nirvn
839fa50812 [attribute table] fix crash when adding creating a field on field-less layers 2018-02-08 14:12:07 +07:00
Nyall Dawson
75843a8ba8 Make tooltip capitalization consistent 2018-02-08 16:06:26 +11:00
Nyall Dawson
3d23cde4c9 Add some separators to identify results toolbar 2018-02-08 16:06:26 +11:00
Nyall Dawson
147903125d [needs-docs] Use correct open form icon in identify results toolbar
Before we used a different (non obvious) icon for "open form"
in the toolbar. This changes the toolbar icon to reuse the
same (clearer) icon which is used when expanding out the
tree and finding the "show feature form" action.

I've also moved the Open Form action to be first in the
toolbar, since it's the most frequently used action.
2018-02-08 16:06:26 +11:00
nirvn
e2c713e249 [raster] prevent pseudocolor auto-classify following color customization in tree 2018-02-08 10:34:16 +07:00
nirvn
234540f0c9 [attribute table] fix crash when removing layer with show selected features 2018-02-08 10:05:11 +07:00
Tudor Bărăscu
f54cc37258 fix server issue for devicePixelRatio leading to DPI requests with decimals
Some requests send the DPI parameters with decimals due to
devicePixelRatio and the Server doesn't cope with that. This fixes it.
2018-02-07 12:55:03 +02:00
nirvn
2cbf139bcd [ui] save vertical space for the delimited text add layer dialog
(fixes #17972)
2018-02-07 16:30:45 +07:00
nirvn
dd7c168e0b document api break 2018-02-07 13:27:39 +07:00
nirvn
0885414d74 update the stats gatherer to use qgstask 2018-02-07 13:27:39 +07:00
nirvn
715677ee5d move getValues, getDoubleValues to vector layer utils source file 2018-02-07 13:27:39 +07:00
nirvn
8495e8be4d [stats] gather field/expression values in a thread to prevent long UI freeze 2018-02-07 13:27:39 +07:00
Alexander Bruy
c12884cc6b [processing] remove obsolete script tests 2018-02-06 19:25:48 +02:00
Alexander Bruy
23a5dd3197 [processing] fix file permissions 2018-02-06 19:25:48 +02:00
Denis Rouzaud
3205c96af6
Merge pull request #6275 from 3nids/messagelevel
unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
2018-02-06 05:28:17 -09:00
Denis Rouzaud
8f2c857e55
Merge pull request #6258 from 3nids/options_better_3
Allow adding custom highlight widget to custom pages in option
2018-02-06 03:57:12 -09:00
Denis Rouzaud
3dc3d9d1b2 unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Denis Rouzaud
90f1d7b7e7 [options search] expand item when found in a tree 2018-02-06 08:37:26 -04:00
Denis Rouzaud
9389be83c6 [processing] search also show children in config 2018-02-06 08:36:46 -04:00
Nyall Dawson
cbd3042b5e Fix build with MODELTEST enabled 2018-02-06 22:39:42 +11:00
Nyall Dawson
2fc0b5b777 Remove some outdated Python api files 2018-02-06 22:39:42 +11:00
Nyall Dawson
7cb20e00d9 Remove some qt4 references 2018-02-06 22:39:42 +11:00
Nyall Dawson
9553dea201 Remove more unused Qt4 cmake code 2018-02-06 22:39:42 +11:00
Nyall Dawson
3e1b99be69 Remove a bunch of Qt4 compatibility code 2018-02-06 22:39:42 +11:00
Nyall Dawson
fc16972646 Remove a bunch of unused Qt4 compatibility code 2018-02-06 22:39:42 +11:00
Alessandro Pasotti
7cb40fbd0c Set first run dialog window title 2018-02-06 12:17:10 +01:00
Nyall Dawson
1d3a4e421e Update sip bindings 2018-02-06 16:30:20 +10:00
Nyall Dawson
9621f38330 Use QMessageBox::question instead of information when asking a question
And where appropriate use Yes/No choices instead of Ok/Cancel
2018-02-06 16:03:35 +11:00
Nyall Dawson
aa3a3356d1 Use question messagebox for layer rollback/cancel/save dialog
...since this messagebox is asking a question. Also change
confusing OK/Cancel option to clearer Yes/No options.
2018-02-06 16:03:35 +11:00
Nyall Dawson
15e04bc9cb Fix missing verification dialog on "all layer" save/rollback/cancel
Fixes #17490
2018-02-06 16:03:35 +11:00
Denis Rouzaud
33ca8fcb69 remove PyQt4 leftovers in mac cmake config 2018-02-05 21:19:16 -04:00
Nyall Dawson
d1c6941ae4 Minor speed boost to identify highlight
Unfortunately this whole identify highlight class is very inefficient,
resulting in multiple large image redraws at every paint event
and slow iteration over every pixel in these images.

TODO This needs to be completely reworked in future.
2018-02-06 10:51:09 +11:00
Nyall Dawson
535de3b1b2 Set the correct expression context for QgsHighlight
Fixes #17896
2018-02-06 10:50:55 +11:00
Denis Rouzaud
3b17d5a784 processing search: also search in group items and fix return value 2018-02-05 09:31:57 -04:00