nirvn
22a66ef390
[FEATURE][AFS] Create labels when settings provied by server
2018-12-10 16:09:39 +07:00
Nyall Dawson
bcffc44062
If decoding a layer URI returns a url, then show a link to that url
...
in the layer's metadata
2018-11-07 15:30:17 +10:00
Alessandro Pasotti
7bf4e5b119
Do not check for geom equality when fixing a bad layer
...
re-apply the style with no checks for geometry type
This is a temporary workaround, the solution will probably
need some storage for the original geometry type.
2018-11-06 14:55:13 +01:00
Alessandro Pasotti
c8b26771cf
Merge pull request #8359 from elpaso/handle-bad-layers2
...
[needs-docs][feature] Deferred handling of bad layers
2018-11-06 08:43:18 +01:00
Nyall Dawson
dc72f06e53
Bump minimum Qt version to 5.9
2018-11-06 08:45:37 +10:00
Alessandro Pasotti
326640d881
Implement setDataSource for rasters
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
4077104293
Silence longstanding debug warning
2018-11-05 10:24:35 +01:00
Denis Rouzaud
6fc36dcd1a
use QgsFeatureRequest::setNoAttributes ( #8332 )
2018-10-25 10:01:04 -08:00
Denis Rouzaud
6a9cff3fd2
reserve space in feature list for performance ( #8322 )
2018-10-25 05:19:13 -08:00
Nyall Dawson
844eada763
Avoid some unnecessary styleChanged signals
...
These signals are expensive to emit, because they trigger a full
update of the style dock contents
2018-10-23 05:56:31 +10:00
Nyall Dawson
51f6fb0667
QStringLiteral
2018-10-16 13:32:05 +10:00
Denis Rouzaud
574c672a1e
add QgsVectorLayer::getGeometry(fid) ( #8174 )
...
* add QgsVectorLayer::getGeometry(fid)
* update docs to say geom is invalid
2018-10-15 03:31:14 -08:00
Nyall Dawson
46b6ffadda
Fix a bunch of QString warnings
2018-10-15 19:02:48 +10:00
Alessandro Pasotti
07b31287ba
Fix rollback on large tables when attr table is opened
2018-10-14 00:44:25 +02:00
Nyall Dawson
e91e342e6a
Fix some chatty debug messages
2018-10-07 17:36:40 +10:00
Matthias Kuhn
cda4950dd8
Change canCommitChanges to allowCommit flag
2018-09-26 17:35:53 +02:00
Matthias Kuhn
d2bb3d606b
Fix python signature?
2018-09-26 17:15:53 +02:00
Matthias Kuhn
a56deacf54
Add QgsVectorLayer::canCommitChanges
...
to control if changes can be saved or not. This signal is emitted before a layer is being saved and if a connected slot marks the canCommit variable as False, the layer will not be saved
2018-09-26 16:17:24 +02:00
Matthias Kuhn
fde813ca82
Merge pull request #7948 from m-kuhn/final
...
It's the `final` countdown
2018-09-19 16:34:54 +02:00
Matthias Kuhn
1c359f8acd
Add a new QML category "Geometry Options"
...
And rename QgsGeometryFixes to QgsGeometryOptions
2018-09-19 13:51:00 +02:00
Denis Rouzaud
6b8cd4bd47
[locator] show field where text has been found in current layer filter ( #7904 )
...
* [locator] show field where text has been found
also fix an issue that a field was not returning a match for big number (e/f formats)
* init layer tree model when testing QgisApp
* add test for inbuilt active layer locator filter
* use string comparison for numerical value
this is how it is done in attribute table filter and seems to have better result than comparing numerical values
* switch back to numerical precision and cleanup layers
2018-09-18 11:03:55 -08:00
Matthias Kuhn
ddaa8ea4af
inline and virtual are no good friends
2018-09-18 18:53:48 +02:00
Denis Rouzaud
97376b8217
single dialog to load style (QML, SLD, DB)
2018-09-14 16:35:30 +10:00
Denis Rouzaud
0cfa77db7f
fix documentation
2018-09-14 16:35:30 +10:00
Denis Rouzaud
0df5b9e593
better API doc, own category for 3D, fix leak
2018-09-14 16:35:30 +10:00
Denis Rouzaud
15e0d873d9
select categories in copy style in legend menu entry
...
not working yet, just set the menu entries
QgsMapLayerStyle::StyleCategory has moved to QgsMapLayer to avoid making QgsMapLayerStyle a QObject and they are mostly used in QgsMapLayer
2018-09-14 16:35:30 +10:00
Denis Rouzaud
4487241336
implement filtering of categories in reading/writing
2018-09-14 16:35:30 +10:00
Denis Rouzaud
51e9be0575
add API to select section of layer style when reading/writing
2018-09-14 16:35:30 +10:00
Denis Rouzaud
89830f614e
create QgsMapLayer::LayerFlags for Searchable, Identifiable and Removable ( #7815 )
...
* create QgsMapLayer::LayerFlags for Searchable, Identifiable and Removable
this brings back the information previously saved in the project node back to the layer node
this will allow to embed this information in layer styles
* skip unexisting flag node to avoid setting wrong value for flag
* mark QgsProject::(set)requiredLayers as deprecated
* better API docs
* use new API in current code
* more docs and more old API fixes
* fix bad conversion
* more old API fix
* add missing SIP_OUT
* s/testFlags/testFlag
* fix var name
* adapt project test to test flags
* remove debug calls
* fixeS
2018-09-08 07:54:21 -04:00
Etienne Trimaille
c65fe0e07c
do not display metadata related to spatial extent if the layer is not spatial
2018-09-07 09:38:25 +10:00
Etienne Trimaille
c491872113
do not display geometry, spatial extent and CRS for non spatial layer
2018-09-04 11:35:11 +10:00
Etienne Trimaille
6a80069825
add some missing QLatin1String in metadataHtml()
2018-09-04 11:35:11 +10:00
Denis Rouzaud
6b66b2048a
switch to legend tree for Identify Layers tab in project properties
...
also add a 'searchable' option for vector layers (they won't be searched in the locator)
2018-08-31 14:14:14 +03:00
Nyall Dawson
1b560559e5
Non spatial layers do not have a CRS - API changes only, needs UI change
...
Refs #19689
2018-08-27 11:35:57 +10:00
Matthias Kuhn
a5a6f0058a
Merge pull request #7672 from m-kuhn/geomCheckerAutoFixes
...
Add automatical fixes for geometries
2018-08-24 12:32:44 +02:00
Matthias Kuhn
063ccf4283
Move geometry fixes to separate class
2018-08-23 18:38:09 +02:00
signedav
5ef079970d
Value Relation implementation
...
Values in the Value Relation widgets can be translated now - means changed.
So the setting-change is made to get translated values over another layer.
2018-08-23 17:51:53 +02:00
Matthias Kuhn
d24ffbc401
Add guard
2018-08-23 17:21:18 +02:00
Matthias Kuhn
f69e58f261
Revert to specific setters and getters
2018-08-23 14:24:42 +02:00
Matthias Kuhn
35a87a12bc
Remove outdated code
2018-08-22 07:24:36 +02:00
Matthias Kuhn
5435b193a2
Setter for GeometryOptions and not individual props
2018-08-22 07:01:51 +02:00
Matthias Kuhn
8f03681e65
Deduplicate code
2018-08-22 06:55:58 +02:00
Matthias Kuhn
d77906ab62
Fix save/restore of a layers geometry properties
2018-08-21 15:14:27 +02:00
Matthias Kuhn
256876eb45
Add autofixers for geomtries
...
* Snap to grid
* Remove duplicate nodes
2018-08-21 15:14:27 +02:00
nirvn
805e7ec06d
[ui] remove original metadata row, duplicate of name
2018-08-17 12:00:20 +07:00
nirvn
1f31a9783c
[ui] improve metadata feature count string
...
- use unknown instead of -1
- use thousands separator
2018-08-17 12:00:20 +07:00
nirvn
8a117af7ce
Add a path row to HTML metadata table
2018-08-16 16:46:01 +07:00
nirvn
45b209c2c1
[FEATURE] Add hyperlink to local vector,raster datasets in information panel
2018-08-16 16:46:01 +07:00
signedav
fc018daa3f
QgsProjectTranslator
...
implementation of abstract class QgsProjectTranslator
2018-08-07 14:31:17 +02:00
signedav
1bccedd1d1
working translation of project from qm file
...
Translated objects and tests included:
- [x] layer names
- [x] layer group names
- [x] relation names
- [x] attribute alias (if no alias, then the field translation)
- [x] forms group box titles
- [x] forms sub group box titles
included restructured with QTranslator object.
Updated test-data used for the test.
2018-08-07 14:31:17 +02:00