Matthias Kuhn
b1e5eb09cf
Merge pull request #30748 from troopa81/fix_referencerelationwidget_addEntry
...
Fix addEntry for reference relation widget
2019-07-19 07:08:11 +02:00
Nyall Dawson
d439484c27
Remove disableCache argument from python bindings
2019-07-19 13:39:06 +10:00
Nyall Dawson
9015a177d0
Disable CRS and transform cache permenantly when exiting Qgis
...
Hopefully this will prevent additional items being added to the cache
after we've gracefully finalised proj operations, which results
in the infamous crash-on-exit fiasco...
2019-07-19 13:39:06 +10:00
Nyall Dawson
dbe7e6156e
Append additional "QgsCalloutContext" member to callout rendering virtual
...
methods
While unused for now, this gives us flexibility in future to specify
additional useful contextual information about how a callout should
be rendered without breaking API (e.g. label text alignment, label
font settings, etc)
2019-07-19 13:38:49 +10:00
Nyall Dawson
53ca26e638
When saving a symbol to the style database, prepopulate the tags
...
widget with existing tags
2019-07-19 12:23:31 +10:00
Nyall Dawson
2aba793946
Fix some warnings
2019-07-19 09:22:48 +10:00
Nyall Dawson
e63e7ab714
Fix unused variable warning
2019-07-19 09:22:48 +10:00
Julien Cabieces
9a60f17565
Replace setted with set
2019-07-19 09:11:41 +10:00
Julien Cabieces
29883f18e5
fixes #29667 end feature setting mode before warning attribute form interface
2019-07-19 09:11:41 +10:00
Juergen E. Fischer
7f17345424
fix windows build
2019-07-18 23:59:16 +02:00
Nyall Dawson
7d4552d44f
When importing symbols from a seperate style, prepopulate the Additional
...
Tags list with a drop down showing existing tags in the default style
2019-07-19 07:21:11 +10:00
Nyall Dawson
299a28b42d
Show layer rendering/data access errors in the layer tree
...
This makes these errors more visible to users, instead of hiding
them away in the log panel
2019-07-19 07:20:40 +10:00
Nyall Dawson
33ee00f3f6
Ensure layer tree indicator icons are repainted on changes
2019-07-19 07:20:40 +10:00
Nyall Dawson
bd44f53236
Map canvas emits a signal when errors occur during rendering operations
2019-07-19 07:20:40 +10:00
rldhont
64ada4de19
[Oracle] FeatureItrator: do not request all attributes if subset is empty
...
Like the PostgreSQL provider, it is not necessary to request all the attributes if the request subset of attributes is empty.
2019-07-18 18:17:40 +02:00
Larry Shaffer
fe1b0ae362
[oauth2] Fix network error crash; guard reply ptr; remove error phrase
...
Access of reply members/properties causes crash if the reply is deleted
elsewhere. Guard cast reply object using QPointer and access all
properties immediately.
2019-07-18 09:06:36 -06:00
Nyall Dawson
b41f8e03b0
Also apply warnings to rotate label tool
2019-07-18 20:38:36 +10:00
Nyall Dawson
90bd9e04fb
Auto enable layer editing when the move or change label tools
...
require it to make changes to a label
E.g. when a layer is set to store label x/y in a real field (not
an aux field), then that layer must be editable in order to move
labels in it. Otherwise the move operation fails, but users are
left no clue as to why the label can't be shifted...
So now we automatically switch on edits and notify the user of
this via the messagebar, and if we CAN'T make the layer editable,
we also warn them of this.
2019-07-18 20:38:36 +10:00
Alexander Bruy
d0b8d6210c
Merge pull request #30715 from alexbruy/gdal-layers
...
[processing] pass layer name to the gdalwarp to avoid issues with multi-layer datasources (fix #30292 )
2019-07-18 10:21:03 +03:00
Nyall Dawson
4bab91cfba
Fix qt warnings about invalid stylesheet
2019-07-18 17:11:53 +10:00
Nyall Dawson
781e70f37c
Fix lengthy delay when clicking change label tool on a label for the
...
first time
Previously this was firing off the styleChanged for every new auxiliary
field created, which is a very expensive call to process (as it involves
rebuilding GUI widgets). Instead, delay the call and only it fire it
once, if we actually changed something in the style.
2019-07-18 16:55:43 +10:00
Nyall Dawson
83168d3a02
[FEATURE] Add a separate unit choice for milliradians (SI definition) vs mil (NATO definition)
...
Allows angular measurements in either of these units
2019-07-18 15:06:52 +10:00
Nyall Dawson
009354ad86
Expose milliradians as choice of angle in angle measure tool
2019-07-18 15:06:52 +10:00
Nyall Dawson
8cc54aed45
Correct definition of miliradians to 1/1000 radian, not 3200/pi radians
...
And add missing unit tests
2019-07-18 15:06:52 +10:00
Nyall Dawson
f4d05b073c
Remove shadowing member which was moved to base class
2019-07-18 13:00:15 +10:00
Nyall Dawson
249a27b003
Fix dox warning
2019-07-18 13:00:15 +10:00
Nyall Dawson
10a1b1548b
Remove broken seealso links
2019-07-18 13:00:15 +10:00
Nyall Dawson
7a1547a260
[layouts] Ensure full context is set for scalebar font button and
...
other symbol buttons used in item widgets
2019-07-18 13:00:15 +10:00
Nyall Dawson
a83953599a
Allow pushing more contextual information to QgsFontButton/QgsTextFormatWidget
...
e.g. follow the same approach as symbology and allow pushing message
bars, map canvases, and expression contexts to the widgets
2019-07-18 13:00:15 +10:00
Nyall Dawson
a57d04fb7f
When a style manager dialog is opened in read only mode, still allow
...
symbols to be double clicked to view their properties. Just disable
actually saving any edited symbols instead.
2019-07-18 11:13:35 +10:00
Juergen E. Fischer
c715bc14d9
use srs6.db when running from build dir with PROJ >5 (followup dddf8b2aa)
2019-07-17 18:37:57 +02:00
Juergen E. Fischer
557d1afcf7
only install/copy srs.db that we're using (fix 56d03f783f041)
2019-07-17 18:09:02 +02:00
Julien Cabieces
4ee2a53d91
Remove now useless mReferencedFieldIdx variable
2019-07-17 14:28:38 +02:00
Julien Cabieces
8515bb81d9
Convert QVariant to int before QCOMPARE
2019-07-17 08:56:28 +02:00
Nyall Dawson
93cd83255b
Merge pull request #30757 from nyalldawson/override_clear
...
Always show 'clear' action in property override button
2019-07-17 11:07:12 +10:00
Nyall Dawson
9f219e0ca2
Spelling
2019-07-17 11:07:01 +10:00
Nyall Dawson
ad215a92aa
[labeling] Show a wait cursor while building label property dialog
...
and auxiliary field creation is required
This can take some time (30 seconds or so), and without the wait
cursor it looks like QGIS has hung...
2019-07-17 11:07:01 +10:00
Nyall Dawson
4ab51b02fc
[labeling] Fix labels 'jump' when using move label tool and alignment
...
is set to a non-field based value
2019-07-17 11:07:01 +10:00
Nyall Dawson
e1bfb857da
[labeling] When label map tools are used to select a label and the
...
user clicks on overlapping labels, prioritise either the labels in
the current layer OR fallback to picking the smallest candidate
label (since it will be the most difficult to select)
2019-07-17 11:07:01 +10:00
Nyall Dawson
48c21bb978
Always show 'clear' action in property override button
...
Previously this was only shown if the button was set to an expression
value, but there's also a need to clear when a property is set
to a field value. Otherwise it's impossible (well, annoyingly
fiddly) to clear the 'red' status when a bound field is deleted
or no longer available.
2019-07-17 08:22:22 +10:00
Matthias Kuhn
54a2be82db
Update src/gui/qgsrubberband.cpp
2019-07-17 04:26:29 +10:00
Matthias Kuhn
9dbedd4993
Remove extra ;
2019-07-17 04:26:29 +10:00
Matthias Kuhn
331c67e914
Solve additional code issues
2019-07-17 04:26:29 +10:00
Matthias Kuhn
a51fbd6057
Add angle unit tests for mil
2019-07-17 04:26:29 +10:00
Matthias Kuhn
7013539981
Resolve code issues
2019-07-17 04:26:29 +10:00
Matthias Kuhn
1e8b1872ea
Add missing import
2019-07-17 04:26:29 +10:00
Sandro Mani
afb698b334
Add missing consts
2019-07-17 04:26:29 +10:00
Matthias Kuhn
5e121bcc15
More rubberband code cleanup
2019-07-17 04:26:29 +10:00
Matthias Kuhn
7691f526be
Cleanup rubberband code
2019-07-17 04:26:29 +10:00
Sandro Mani
7af22a8bf6
Add QgsRubberBand::IconType::ICON_SVG
2019-07-17 04:26:29 +10:00