Denis Rouzaud
efed091270
[locator] do not skip less than 3 chars when using prefix
...
you might really be looking for it, using the prefix makes it clear enough
2018-09-13 05:39:08 +10:00
Blottiere Paul
98a4bd3030
Merge pull request #7867 from tudorbarascu/fix_tests
...
fix qgz test project
2018-09-12 19:50:09 +02:00
Denis Rouzaud
3b1b41f391
add qgsEnumMap to list all entries (int, string) of enums
2018-09-12 11:38:54 -04:00
Denis Rouzaud
827cfbc4df
fix conversion warning
2018-09-12 11:38:54 -04:00
Matthias Kuhn
2182e2d9aa
Fix crash when adding feature to non-spatial layer
2018-09-12 17:24:27 +02:00
Matthias Kuhn
561586f740
Check layer pointer for validity
2018-09-12 16:59:13 +02:00
Tudor Bărăscu
a0e8be590a
fix qgz test project
...
from qgis 3.1 to qgis 3.3 the qgz project lost the relation reference
While reporting issues on the bug tracker I noticed that the test project
lost it's relation. I recreated the qgz file.
2018-09-12 13:23:51 +03:00
Nyall Dawson
d7fb5f959f
Fix Travis build
2018-09-12 16:22:44 +10:00
Nyall Dawson
010c2f455c
Fix model setData implementation, allow renaming symbols through model
2018-09-12 16:22:44 +10:00
Nyall Dawson
d7edeac379
Make style model decoration icons size responsive
...
We hack the model a bit here, but as much as possible avoid bleeding
view properties into the model API.
So we use a QObject property ("icon_size") to specify icons sizes
for the model to generate. This is set on instances
of the model to indicate the required sizes for decorations in all
views connected to the model, and allows the model to have size responsive icons.
By using a QObject property we avoid having public GUI/view related API within
the model, and mostly avoid view related properties contaminating the pure model,
yet still have pixel-perfect symbol renders for the required view icon sizes.
2018-09-12 16:22:44 +10:00
Nyall Dawson
28836d2d60
hi-dpi friendly style manager icons
2018-09-12 16:22:44 +10:00
Nyall Dawson
68c0d7f4e1
Unit tests for style proxy model smart group filter
2018-09-12 16:22:44 +10:00
Nyall Dawson
95d65ae861
Add python safe addSmartgroup method, unit tests for smart groups
2018-09-12 16:22:44 +10:00
Nyall Dawson
c41af120a0
Remove addSmartGroup from Python bindings -- it causes a crash in sip
...
and CANNOT be made functional
2018-09-12 16:22:44 +10:00
Nyall Dawson
adc31bb8a0
Fix test on Travis
2018-09-12 16:22:44 +10:00
Nyall Dawson
c5ab5891e0
Add a QAbstractItemModel for showing the entities within a QgsStyle object
...
- also adds QgsStyleProxyModel which handles filtering of entities
- lots of unit tests
- new signals in QgsStyle for when symbols/tags/etc change (with tests)
2018-09-12 16:22:44 +10:00
Geoff Kimbell
cb0b335a95
[FEATURE][processing] Add custom OPTIONS to contour algorithm ( #7834 )
2018-09-12 04:36:06 +10:00
Martin Dobias
318946a08a
Use outline only indicator icon
2018-09-11 15:48:46 +02:00
Martin Dobias
4756f3ed81
Use setFlags() in QgsMapLayer when reading style from xml
2018-09-11 15:48:46 +02:00
Martin Dobias
b8197ed3b8
[FEATURE] Layer tree view indicator for non-removable (required) layers
2018-09-11 15:48:46 +02:00
Martin Dobias
602b3e9dff
Add QgsMapLayer::flagsChanged() signal
2018-09-11 15:48:46 +02:00
Matthias Kuhn
532fb621ae
Add \since
2018-09-11 13:03:50 +02:00
Matthias Kuhn
146cc72c9d
More docstrings
2018-09-11 11:40:31 +02:00
Matthias Kuhn
a48168746e
Docstrings
2018-09-11 11:30:19 +02:00
Matthias Kuhn
b60cf05d76
Use implicitly shared QgsGeometry
2018-09-11 11:02:45 +02:00
Matthias Kuhn
6ab1aa73e1
Add QgsThreadingUtils::runOnMainThread
2018-09-11 09:48:16 +02:00
Matthias Kuhn
e192e180d3
Fix more multithreading issues
2018-09-11 09:48:16 +02:00
Matthias Kuhn
6d2ec207e1
Calculate layer to map conversion on the fly
2018-09-11 09:08:28 +02:00
Martin Dobias
9d22389070
Fix connection to GPS using serial port
...
It was impossible to start GPS live tracking when connecting via a serial port rather than gpsd.
QSerialPort in Qt5 does not support Unbuffered open mode and will just fail (around line 545):
https://github.com/qt/qtserialport/blob/5.11/src/serialport/qserialport.cpp
This was not a problem in QGIS 2.x / Qt4 where we used QextSerialPort which did not have such test.
2018-09-11 08:38:12 +02:00
Matthias Kuhn
0865297395
Merge pull request #7847 from m-kuhn/unique_ptr
...
Use unique_ptr for geometry
2018-09-11 08:17:09 +02:00
Matthias Kuhn
fd34cc7df7
Merge pull request #7846 from m-kuhn/layerPointer
...
Use pointer instead of reference to QgsVectorLayer
2018-09-11 08:16:52 +02:00
Matthias Kuhn
7a5a52b162
Merge pull request #7845 from m-kuhn/apiCleanup
...
Naming changes for QgsFeaturePool
2018-09-11 08:16:39 +02:00
Matthias Kuhn
fae9256a41
Merge pull request #7844 from m-kuhn/conversionFactor
...
QgsCoordinateTransform::scaleFactor()
2018-09-11 08:16:24 +02:00
Nyall Dawson
d65bd5f08e
[processing] Fix another exception in modeler
2018-09-11 15:40:27 +10:00
Nyall Dawson
97f43d4bb2
[processing] Fix warning on close
2018-09-11 15:40:27 +10:00
Nyall Dawson
90dbf72e98
[processing] Fix exception when showing advanced parameters for alg in modeler
2018-09-11 15:40:27 +10:00
Nyall Dawson
c8abd40250
[processing] Fix gdal algorithm use of old wrapper API
2018-09-11 15:40:27 +10:00
Harrissou Sant-anna
0b40ffdb31
Harmonize label with "add autoincremental field"
2018-09-11 14:40:16 +10:00
Harrissou Sant-anna
93c136ed09
Remove optional status of sort checkboxes
2018-09-11 14:40:16 +10:00
Nyall Dawson
b9c64c6ab8
Fix crash when editing smart group in style manager dialog
2018-09-11 14:07:57 +10:00
nirvn
68b7e799f0
[processing] add msg bar links to files when saving/exporting models
2018-09-11 10:30:07 +07:00
Nyall Dawson
ac3b37ffe0
[processing] Fix wrapper value retrieval for some ported wrappers
...
Fixes #19813
2018-09-11 10:26:36 +10:00
Jaka Kranjc
d54bd1a203
[processing] Fix DeleteColumn output hint
...
the dropped fields are discarded, the modeller get the rest, as expected
2018-09-11 09:35:45 +10:00
Martin Dobias
d849dd62b6
Fix misbehaving tooltips/click of layer tree indicators in some styles
2018-09-11 00:40:22 +02:00
stra2da
5048978ee0
Update relation_aggregate
2018-09-11 07:28:59 +10:00
stra2da
35b11b02b2
Update aggregate
2018-09-11 07:28:59 +10:00
stra2da
7fbc828acb
Update relation_aggregate
2018-09-11 07:28:59 +10:00
Salvatore Larosa
4ca8b4c29d
fix build on osx
2018-09-10 23:12:00 +02:00
Nyall Dawson
f598e2d527
Typo
2018-09-11 06:01:06 +10:00
Nyall Dawson
afd2af40f0
Use default style library if none specified
2018-09-11 06:01:06 +10:00