32104 Commits

Author SHA1 Message Date
nirvn
31d7be4034 [diagram] add unit type setting for outlines (fixes #14614) 2016-04-05 13:49:46 +07:00
Nyall Dawson
22f1a1dee7 Implement QgsEditorWidgetWrapper::showIndeterminateState() for setting
editor widgets into an indeterminant "unknown value" state

Works for all editor widgets except date time, range and uuid widgets.
2016-04-05 13:06:25 +10:00
Nyall Dawson
16274d555b Fix missing docs 2016-04-05 13:05:30 +10:00
Nyall Dawson
ca642e44ff Add easy methods for temporarily blocking signals
- QgsSignalBlocker: RAII signal blocking class. Used for temporarily
  blocking signals from a QObject for the lifetime of QgsSignalBlocker
  object.

- easy shortcut "whileBlocking( QObject* )" function. Temporarily
  blocks signals from a QObject while calling a single method from the
  object.

  Usage:
    whileBlocking( checkBox )->setChecked( true );
    whileBlocking( spinBox )->setValue( 50 );

  No signals will be emitted when calling these methods.

based on Boojum's code from
http://stackoverflow.com/questions/3556687/prevent-firing-signals-in-qt
2016-04-05 10:50:42 +10:00
Nyall Dawson
882f6f8c3c [symbology] Add some more dispersed marker symbols (half/quarter squares) 2016-04-05 09:28:55 +10:00
Nyall Dawson
ad16fb4790 Show simple marker symbol name in tooltip 2016-04-05 09:15:52 +10:00
Blottiere Paul
dae423d30f fix polyline rendering when layer draws effects (fix #14611) 2016-04-05 07:22:49 +10:00
Juergen E. Fischer
f968f994ea debian packaging: no internal future only stretch sid wily xenial
(fixes #14577)
2016-04-04 20:40:32 +02:00
Denis Rouzaud
ec01f679ed Merge pull request #2971 from DelazJ/patch-9
typo fix
2016-04-04 16:44:23 +02:00
Harrissou Sant-anna
14c7900e1a typo fix 2016-04-04 16:26:13 +02:00
Mathieu Pellerin
2adfbb078a [symbology] add semicircle, third, quarter circles to simple markers 2016-04-04 20:09:02 +10:00
Nyall Dawson
f6431ff3ed Fix artifacts on simple marker "arrowhead" symbol, allow symbol to
work correctly with join modes
2016-04-04 20:07:34 +10:00
Matthias Kuhn
d1c79d817c [feature] allow generating default values on postgres just in time
The expression used to generate default values for a field on the
postgres database are currently being printed on the feature form.

    nextval('serial')

A new option in the properties allows evaluating the expression before
usage and will directly print the new value in the feature form.

    23
2016-04-04 11:08:23 +02:00
Matthias Kuhn
48943d44f6 Prefer usage of https:// over http:// 2016-04-04 11:08:23 +02:00
Patrick Valsecchi
f696b0a34d Allow relative links in composer labels
Now labels and HTML boxes can contain relative URLs. If we don't have
a base URL, the project file will be used as a base URL (closes #7236).

Remove the exception for the labels where the images where not
loaded (unless in in PDF or image mode). It was because of a crash. Qt didn't
like having the HTML loading to be done synchronously during painting.

Fix a leak when rendering labels.
2016-04-04 11:05:30 +02:00
elpaso
8b0b06875a Delete a blank line to make flake8 happy 2016-04-04 10:55:10 +02:00
Alexander Bruy
3ab6db168f [processing] fix looping over features in Join Attributes alg (fix #14428) 2016-04-04 11:52:02 +03:00
Alessandro Pasotti
ff1764539d Merge pull request #2963 from elpaso/server-fix-qs-encoding
[SERVER] Fix encoding of query string for bindings
2016-04-04 09:20:57 +02:00
Mathieu Pellerin
541463718d [FEATURE] add outline join style to ellipse markers 2016-04-04 14:38:52 +10:00
Nyall Dawson
54d093ed48 Function argument name should not be translatable 2016-04-04 13:59:22 +10:00
Nyall Dawson
ae00eb965c [FEATURE] Allow expression functions to use named parameters
This commit sets the framework for allowing expression functions to
use named parameters. Ie, instead of:

clamp(1,2,3)

you can use:

clamp( min:=1, value:=2, max:=3)

This also allows arguments to be switched, eg:

clamp( value:=2, max:=3, min:=1)

Additionally, it allows for a more structured definition of function
parameters to handle optional arguments and default values for
parameters. These are currently being done using a hacky infinite
argument list.

I've utilised the postgres ':=' syntax for specifying named arguments
to avoid potential collisions which may arise with the equality test
if we re-used just the '=' operator alone.

Sponsored by North Road
2016-04-04 13:59:13 +10:00
Juergen E. Fischer
5e54b93be7 remove pseudo options HAVE_MSSQL, HAVE_DB2, HAVE_SPATIALITE
and HAVE_PYTHON
2016-04-04 00:59:38 +02:00
Juergen E. Fischer
1cbcf49043 include db2 provider in packaging 2016-04-04 00:59:38 +02:00
Nyall Dawson
d8dbc92510 Fix warning 2016-04-04 08:36:52 +10:00
David Adler
5fe19c5f15 merged DB2 updates
[FEATURE] New vector data provider for DB2 sources
2016-04-04 07:55:50 +10:00
Nyall Dawson
883016f471 Fix some minor coverity warnings 2016-04-04 06:58:42 +10:00
Nyall Dawson
b8b12d87c3 Fix memory leak 2016-04-04 06:53:40 +10:00
Nyall Dawson
639c050077 Fix coverity uninitialized variable warnings 2016-04-04 06:52:49 +10:00
Nyall Dawson
98d4734098 Make attribute selection table in vector save as dialog taller 2016-04-04 06:25:05 +10:00
Nyall Dawson
cbad546b09 Followup 99d5e4, add unit tests 2016-04-04 06:20:07 +10:00
Nyall Dawson
ae9d089142 Merge pull request #2964 from nirvn/simple_marker_join_style
[FEATURE] add outline join style settings to simple markers (fixes #3797)
2016-04-03 16:21:57 +10:00
Nyall Dawson
c08d3592dd Add testdata cache folder to .gitignore 2016-04-03 15:18:37 +10:00
nirvn
3a2a099c59 add simple marker join style tests 2016-04-03 11:56:47 +07:00
nirvn
6ad3537403 [FEATURE] add outline join style settings to simple markers
(fixes #3797)
2016-04-03 09:57:11 +07:00
Juergen E. Fischer
99d5e42247 [FEATURE] vector file writer: allow selection of attributes to export 2016-04-03 01:56:21 +02:00
Juergen E. Fischer
c93187d78c oracle provider: handle NULL geometry in case of multiple geometry columns 2016-04-03 01:56:21 +02:00
Juergen E. Fischer
59de73ac3b extent group box: fix header spelling 2016-04-03 01:56:21 +02:00
Juergen E. Fischer
9c2473df52 fix indentation 2016-04-03 01:56:21 +02:00
Jürgen Fischer
a534fcaa56 Merge pull request #2965 from DelazJ/patch-8
Update qgstipfactory.cpp
2016-04-02 23:45:20 +02:00
Harrissou Sant-anna
3e7553c1f2 Update qgstipfactory.cpp 2016-04-02 20:49:23 +02:00
elpaso
5a72bc7d52 [SERVER] Fix encoding of query string for bindings
Fix an error when passing utf-8 chars in the query string
from python bindings

Adds a test for GetLegendGraphics
2016-04-01 23:59:21 +02:00
Juergen E. Fischer
42e42f77b4 2to3: avoid duplicate transformation of print (followup c4d9b0a) 2016-04-01 22:12:09 +02:00
Juergen E. Fischer
4f6c271490 move new composer tests to pyqt wrappers (followup 7a8a541 and f413046) 2016-04-01 15:52:51 +02:00
Alexander Bruy
aef26c90f3 [processing] more HiDPI fixes (refs #14474) 2016-04-01 16:48:04 +03:00
Matthias Kuhn
32b5faa601 Right align labels with multicolumn attribute forms 2016-04-01 13:35:33 +02:00
Matthias Kuhn
e3de0c119a Move drag and drop designer python API to QgsEdtiFormConfig 2016-04-01 13:35:33 +02:00
Matthias Kuhn
faf6b2654c [feature] Allow using multiple columns in attribute forms
When using the drag and drop designer, a user can specify over how many
columns the fields should be distributed.

A double click on an existing group will allow adapting the value.
2016-04-01 13:35:33 +02:00
Alexander Bruy
9c96be1214 [processing] add function to retrieve Processing version
Initial idea by Etienne Trimaille
2016-04-01 14:09:02 +03:00
Juergen E. Fischer
687b6fdeaa fix windows build 2016-04-01 12:13:54 +02:00
Juergen E. Fischer
c4d9b0a242 2to3: drop fix_print and avoid double parens in fix_print_with_import 2016-04-01 12:02:14 +02:00