Nyall Dawson
ca5c7e2cd4
[FEATURE] Form based select/filter in attribute table
...
This commit adds a new mode to the attribute table dialog for searching
and filtering features. When activated (using a button on the toolbar
or by pressng CTRL+F), the dialog will switch to form view and all
widgets are replaced with their search widget wrapper variant.
Alongside each widget is a tool button with options for controlling
the search/filter behaviour for that field, eg "equal to", "not equal
to", "is null", "greater than", etc.., with the options presented
matching themselves to the corresponding field and widget type.
New buttons appear at the bottom of the form for either selecting
matching features (with options for add to selection/remove from
selection/select within current selection) or filtering features
in the table (with options for adding features to a current filter
or further restricting a current filter).
Sponsored by SIGE
2016-05-24 00:26:14 +10:00
Matthias Kuhn
3fcd1fd6a9
Don't crash when trying to sync raster layer for offline editing
...
Fix #14848
2016-05-23 14:56:33 +02:00
Alexander Bruy
2f5c3a570a
[processing] fix expressions handling in ParameterString ( fix #14834 )
...
Add initial set of tests for ParameterString
2016-05-23 14:28:10 +03:00
volaya
9074b14a74
[processing] fix to avoid interrupted system call exceptions in mac
2016-05-23 13:25:20 +02:00
Matthias Kuhn
f0527e498d
[build] Allow using ninja generator on non-win os'es
2016-05-23 12:42:36 +02:00
Nathan Woodrow
b028c09e82
[build] Add better support for Ninja build system
2016-05-23 12:42:36 +02:00
Alexander Bruy
6207412bf7
[processing] restore CreateConstantRaster algorithm ( fix #14860 )
2016-05-23 12:41:45 +03:00
Juergen E. Fischer
3809da60fd
better fix for 61693b8
2016-05-23 10:45:07 +02:00
Juergen E. Fischer
61693b8d3a
[MSVC] add include for M_PI_2
2016-05-23 10:19:14 +02:00
ninsbl
75c76f51f1
[processing] Don't round grass7 extent and resolution to integer
...
fix #14582
See: https://hub.qgis.org/issues/14582
The commit removes the a-flag when the grass region for raster analysis is set. The a-flag causes in some cases unwanted rounding of raster extend / resolution, and should not be set hardcoded in processing. It is usually used in combination with the "res" option.
For aligning the pixels of the GRASS region to a specific raster, the align option should be used (and not the a-flag). See: https://grass.osgeo.org/grass70/manuals/g.region.html
GRASS 6.4 algs do not use the a-flag either, which explains why this bug appears only for GRASS 7.
2016-05-23 08:49:29 +02:00
Nyall Dawson
726a013222
Flag old composer table classes as deprecated
2016-05-23 14:52:53 +10:00
Nyall Dawson
eb3a34cc92
Fix QgsComposerAttributeTableV2 setting displayed fields under qt5
...
Also don't run QgsComposerAttributeTable test when disable
deprecated flag is set.
2016-05-23 14:52:46 +10:00
Nyall Dawson
008310d91d
Fix warning
2016-05-23 13:09:36 +10:00
Nyall Dawson
fdb6488b97
[expressions] Support date + time = datetime calculations
2016-05-23 07:45:30 +10:00
Nyall Dawson
4ce16e1e31
Fix distorted date time calendar popup
2016-05-23 07:45:24 +10:00
Matthias Kuhn
b18e33c880
[qt5 tests] Fix blacklist
2016-05-22 23:29:20 +02:00
Juergen E. Fischer
84121f2793
fix postgres provider message
2016-05-22 22:46:27 +02:00
Matthias Kuhn
87ac6eaf7b
[qt5 tests] Unblacklist more tests
2016-05-22 22:04:52 +02:00
Bas Couwenberg
e888753577
Only require QTWEBKIT for Qt4 when WITH_QTWEBKIT is true.
2016-05-22 21:52:56 +02:00
Matthias Kuhn
50c7970ed4
Use unittest assertXXX methods
2016-05-22 21:52:55 +02:00
Matthias Kuhn
0e96ef3797
[travis] Fix ccache for Qt4 builds
2016-05-22 21:52:55 +02:00
Matthias Kuhn
bbe9664dba
[travis] Run Qt5 tests with osgeo4travis in $PATH
...
This allows running the gdal processing tests and other subprocesses which have
been manually built like server applications.
2016-05-22 21:52:55 +02:00
Matthias Kuhn
dbb24e971e
[processing tests] More tolerance in statistics test
2016-05-22 21:52:55 +02:00
Matthias Kuhn
ced7c27dcf
[py3] Use __bool__ instead of __nonzero__
2016-05-22 21:52:55 +02:00
Matthias Kuhn
7e113840cb
[qt5 tests] Unblacklist tests
2016-05-22 21:52:55 +02:00
Matthias Kuhn
7f3526be71
[processing tests] Cleanup layer registry before every new test
2016-05-22 21:52:55 +02:00
Nathan
2aa002d986
Fix crash on style dock apply with no layer
2016-05-22 21:27:37 +10:00
Nathan
3ace8e62fd
[Style dock] Add support for raster layers
2016-05-22 20:45:24 +10:00
Matthias Kuhn
13f053b7d5
Merge pull request #3084 from nyalldawson/single_click_ediit
...
Open editor in attribute table on single click
2016-05-22 09:36:01 +02:00
mhugent
b6923758bc
Merge pull request #3087 from arnaud-morvan/maptooladdfeature_avoidintersections_nullgeometry
...
In tool add feature, reject null geometry due to intersection avoidance
2016-05-20 16:53:27 +02:00
arnaud.morvan@camptocamp.com
17fd3d8cb9
Fix in maptool add feature, reject null geometry due to intersection avoidance
2016-05-20 14:40:43 +02:00
Alessandro Pasotti
ff4532c3ac
[server] Fix pep8 build error
2016-05-20 11:37:52 +02:00
Alessandro Pasotti
eef0486cd3
[server] Removed debug print from the test
2016-05-20 09:59:57 +02:00
Alessandro Pasotti
10e8807655
[server] Added regression test for #8656
...
Ref. commit b956874f02a9379
2016-05-20 09:57:17 +02:00
Juergen E. Fischer
5cfcf8468f
translation string fixes
2016-05-20 09:23:57 +02:00
Nyall Dawson
8724feb74e
Some symbol layer widget fixes:
...
- Fix broken shapeburst fill widget
- Tweak stretch behaviour of some widgets
2016-05-20 16:33:52 +10:00
Nyall Dawson
88db4f9ad3
Open editor in attribute table on single click
2016-05-20 13:26:36 +10:00
Nyall Dawson
0fcff9f2a0
Allow direct QVariant creation from some QGIS metatypes
2016-05-20 09:48:18 +10:00
Alessandro Pasotti
b956874f02
[server][bugfix] FILTER GetFeatureInfo working again
...
Fixes #8656
2016-05-19 22:20:56 +02:00
mhugent
bc1aa42f85
Merge pull request #3081 from mhugent/curve_segmentize_parameters
...
Curve segmentize parameters
2016-05-19 16:29:05 +02:00
Even Rouault
0078b33ed2
Merge pull request #3082 from rouault/vectorfilewriter_cleanup_and_encoding_improvement
...
Vectorfilewriter cleanup and encoding improvement
2016-05-19 14:53:38 +02:00
volaya
a19741b297
[processing] log errors in hook scripts
2016-05-19 13:45:18 +02:00
volaya
518f7dcf6b
[processing] correctly switch to description tab if help tab exists
2016-05-19 13:45:17 +02:00
Nyall Dawson
6bf4b92cb9
Merge pull request #3080 from nyalldawson/select_tools
...
[FEATURE] Improved map select tool behaviour
2016-05-19 21:19:59 +10:00
Nyall Dawson
d73210a5f8
Update test mask image
2016-05-19 21:04:50 +10:00
Even Rouault
1ab29771b7
QgsVectorLayerSaveAsDialog: use QgsVectorFileWriter::MetaData::compulsoryEncoding to initialize the encoding combobox
2016-05-19 11:41:50 +02:00
Even Rouault
3ee7d59e18
QgsVectorFileWriter::MetaData: add a compulsoryEncoding member
...
* Some formats require a compulsory encoding, typically UTF-8.
Change initMetadata() to indicate UTF-8 compulsory encoding for
GeoJSON, GeoRSS, GML, GPKG, GPX, KML, SQLite, SpatiaLite, FileGDB,
XLSX and ODS
* QgsVectorFileWriter::init(): make it override the user specified
encoding if the format has a compulsory encoding. And remove hard-coded
case for KML.
2016-05-19 11:38:42 +02:00
Even Rouault
b1efb9a72c
QgsVectorFileWriter::initMetaData(): fix DGN registration
...
DGN was registered twice, and the second occurence reseted the
creation options
2016-05-19 11:21:34 +02:00
Even Rouault
222fa767c9
QgsVectorFileWriter: remove the deprecated private driverMetadata(driverName, multiple args) method and use the public one instead
2016-05-19 11:20:44 +02:00
Marco Hugentobler
c0d12dcdeb
[FEATURE]: possibility to set the segmentation tolerance (maximum angle or maximum difference)
2016-05-19 11:02:43 +02:00