Nyall Dawson
c6f7a07f88
Simplify QgsVectorDataProvider::fillMinMaxCache()
2018-02-20 13:20:37 +10:00
Nyall Dawson
10ceac60ac
Exempt AFS provider from certain provider tests
2018-02-20 13:20:37 +10:00
Nyall Dawson
5f12bd5c27
[afs] Correctly return an invalid feature from closed iterators
2018-02-20 13:20:37 +10:00
Nyall Dawson
b434ab10eb
Start implementing the provider test suite for ArcGIS Feature Server provider
2018-02-20 13:20:37 +10:00
Nyall Dawson
227689aced
[afs] Fix provider incorrectly overrides provider name and description
...
with layer name and description
2018-02-20 13:20:37 +10:00
Nyall Dawson
e3fbb4cbe8
Merge pull request #6390 from nyalldawson/provider_metadata
...
Support reading layer metadata from data provider
2018-02-20 14:09:20 +11:00
Nyall Dawson
1da2da219a
Fix build
2018-02-20 11:31:33 +10:00
Nyall Dawson
3d4f6f82bb
Followup 0548f4, fixes to layer metadata and metadata widget
...
Address outstanding review requests so that this PR can be merged
2018-02-20 11:10:55 +10:00
mj10777
0548f4267e
Added QgsLayerMetadata logic to QgsDataProvider. Added setMetadata in QgsVector/RasterLayer::setDataProvider. Corrections in QgsMetadataWidget with added get/setMetadata and hasChanged functions plus checking for set mLayer pointer before use.
2018-02-20 11:06:57 +10:00
Nyall Dawson
2571de37bb
Fix some undersized widgets on hidpi win builds
2018-02-20 11:01:21 +11:00
Nyall Dawson
206f22b9c7
[processing] Fix algorithm help link in modeler
...
Fixes #18147
2018-02-20 10:03:27 +11:00
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