46036 Commits

Author SHA1 Message Date
Nyall Dawson
fdebddd13a [processing] Fix raster layers shown as inputs for certain vector algs
Fixes #18148, #18149
2018-02-20 10:03:27 +11:00
Nyall Dawson
c07f37a5cb [processing] Select by expression/attribute can run on geometryless layers 2018-02-20 10:03:27 +11:00
Nyall Dawson
da7ccf7d1f
Merge pull request #6369 from slarosa/fix_18118_crash
[welcomepage] fixes #18118 remove last item causes a crash
2018-02-20 09:52:41 +11:00
Juergen E. Fischer
39cb0fbfd0 proj5: show proj version qgis was built with and the version it's running with 2018-02-19 22:12:09 +01:00
Juergen E. Fischer
e5c9092a4c fix build with grass 2018-02-19 22:12:09 +01:00
Juergen E. Fischer
f14b729e3b fix some references to PROJ.4 2018-02-19 22:12:09 +01:00
Nyall Dawson
23dc1c8f69 Use first feature in layer to generate symbol preview icon in widget
Uses the first feature found in a layer in order to create a better
preview for the symbol in the symbol selector dialog. This allows
data defined settings to be evaluated correctly (at least, for the
first feature) and avoids missing previews due to missing
attribute values when data defined settings are present.

Fixes #17061
2018-02-20 07:25:33 +11:00
Denis Rouzaud
7701ea6c9a [delete part] use snapping index to find part 2018-02-19 09:11:14 -09:00
Denis Rouzaud
42908ebbe9 Qt 5.5 prefers Q_FLAG over Q_FLAGS
this also allow to use QMetaEnum for flags
2018-02-19 05:55:09 -09:00
Denis Rouzaud
1a1b197ced use Qgsettins::enumSettingValue where possible 2018-02-19 05:55:09 -09:00
Denis Rouzaud
4d6b0e6aea extend QgsSettings::enumSettingValue to handle flags (with test) 2018-02-19 05:55:09 -09:00
Denis Rouzaud
d468e5bb6a [sipify] fix Q_FLAG declaration 2018-02-19 05:55:09 -09:00
Juergen E. Fischer
4caf96f4e1 api doc: 2.18 is also LTR 2018-02-19 15:48:56 +01:00
Juergen E. Fischer
1364b6b431 api doc: add link to python version 2018-02-19 15:48:12 +01:00
Denis Rouzaud
fdada84bb7 [offset] warn user when layer has Z/M geometries 2018-02-19 05:14:26 -09:00
Denis Rouzaud
5b499f2428 [offset] meter limit min to 1, quadrant segments min to 1 2018-02-19 05:14:26 -09:00
Sandro Mani
b47eb87edb
Merge pull request #6301 from manisandro/qt5.10
Initial workaround for Qt5.10 instability
2018-02-19 14:49:22 +01:00
Sandro Mani
ea9480ef0a Don't set focusProxy in QgsCollapsibleGroupBoxBasic when compiled against Qt5.10+, it causes crashes 2018-02-19 12:57:52 +01:00
Denis Rouzaud
a7ca742d30 fix double/int comparison 2018-02-19 02:08:36 -09:00
Denis Rouzaud
3f9963e248 tweak match from nearestEdge to return an Area type
also make that VisitorArea return the given point as the match point
2018-02-19 02:08:36 -09:00
Denis Rouzaud
1d0043edd7 add test for QgsPointLocator::nearestArea 2018-02-19 02:08:36 -09:00
Denis Rouzaud
9e2e99fe42 snapToCurrentLayer correctly handles Area type 2018-02-19 02:08:36 -09:00
Denis Rouzaud
965a4e87aa revert adding tolerance to QgsSnappingUtils::snapToCurrentLayer
since it already uses digitizing settings
2018-02-19 02:08:36 -09:00
Nathan Woodrow
337fa7b152
Merge pull request #6379 from NathanW2/browser_sort_order
Better sort order for browser node
2018-02-19 20:46:30 +10:00
Nathan Woodrow
19328dda92 Change order of XYZ tiles 2018-02-19 20:43:09 +10:00
nirvn
a303ef5ab7 fix disabled map unit widgets when opening project prop. dialog
(fixes #17208)
2018-02-19 17:37:35 +07:00
nirvn
ae956d7fea [layouts] improve default window state for reports 2018-02-19 17:34:51 +07:00
nirvn
699567173f [layouts] hide atlas/report items in the window right-click menu 2018-02-19 17:34:51 +07:00
nirvn
8fd35c3a31 [layouts] add missing items in the toolbars sub-menu 2018-02-19 17:34:51 +07:00
nirvn
2f70dd0a42 [layouts] sort panels and toolbars sub-menus 2018-02-19 17:34:51 +07:00
nirvn
007009f9b8 [layouts] improve right-click popup menu
- as with the main window, show bold titles
- sort toolbars and panels alphabetically
2018-02-19 17:34:51 +07:00
Alessandro Pasotti
6da78b9562
Merge pull request #6187 from DelazJ/rulebaseDialog
Show "Edit rule" dialog instead of widget when in Layer properties dialog
2018-02-19 10:01:35 +01:00
Juergen E. Fischer
d7edf6c58a fix e606b795d 2018-02-19 09:43:52 +01:00
Alessandro Pasotti
39e1c46beb
Merge pull request #6167 from DelazJ/DBManagerQueryDialog
[DB Manager]Allow preset query combobox to expand
2018-02-19 09:42:52 +01:00
Nyall Dawson
89259e85f7 [layouts] Move responsibility for matching map colors to project
background color to app

This fits better in app - the silent auto setting of background
colors should not apply to scripts manually creating QgsLayoutItemMap
items.
2018-02-19 19:18:24 +11:00
Nyall Dawson
0e3af9c6a9 [layouts] Remove use of QStyleOptionGraphicsItem from QgsLayoutItem API
Turns out the useful methods in QStyleOptionGraphicsItem were deprecated
in Qt 5.10. To future protect our API this replaces all public
use of QStyleOptionGraphicsItem, so that we're free to revise
the internals of how we use QStyleOptionGraphicsItem without breaking
the public QGIS API.
2018-02-19 19:18:24 +11:00
Nyall Dawson
9911209257
Merge pull request #6375 from nyalldawson/interupt
Remove QgsInterruptionChecker and replace with QgsFeedback
2018-02-19 19:17:14 +11:00
Nyall Dawson
627a590c9b Fix geometry checker cannot export errors to gpkg
Fixes #18128

Also exposes other format choices in dialog
2018-02-19 17:57:07 +11:00
Nathan Woodrow
fc98c840c6 Better sort order for browser node 2018-02-19 16:41:43 +10:00
Nyall Dawson
605ea376df Fix uuid() function returns the same uuid
Fixes #18130
2018-02-19 16:56:44 +11:00
Nyall Dawson
b759fc924a Prepare expression for faster field calculation in attribute table dialog 2018-02-19 16:56:44 +11:00
Nathan Woodrow
71a7de6890 [FIX] Fix loading projects with . in name
At least on Windows 2.18.qgs is a valid name for a file.
2018-02-19 15:07:50 +10:00
Nyall Dawson
d830821b13 Remove QgsInterruptionChecker and replace with QgsFeedback use
There's little need for two classes with similar goals here.
2018-02-19 10:18:00 +10:00
Nyall Dawson
1014e5c7a1 Remove unused QgsVectorLayerInterruptionCheckerDuringCountSymbolFeatures class 2018-02-19 10:16:48 +10:00
Juergen E. Fischer
2c53630747 add missing copyright headers 2018-02-18 20:53:40 +01:00
Juergen E. Fischer
e606b795da update_ts.sh: fix selective download of translations 2018-02-18 18:23:59 +01:00
Juergen E. Fischer
dcfe5ca63f update translation strings 2018-02-18 17:35:34 +01:00
Jürgen Fischer
688e964655
Merge pull request #6373 from DelazJ/QMessageBoxTitles
Fix message box title
2018-02-18 14:07:35 +01:00
Juergen E. Fischer
03354eea09 INSTALL is a output file (followup 1dd6db384f) 2018-02-18 14:01:25 +01:00
Harrissou Sant-anna
28e282ac02 Fix message box title 2018-02-18 13:28:04 +01:00