34665 Commits

Author SHA1 Message Date
Nyall Dawson
7f9de72448 Remove DataDefinedSizeScale symbol RenderHint
This flag is no longer set anywhere in QGIS itself
2016-09-13 11:05:45 +10:00
Nyall Dawson
8301ba26c4 Remove sizeScaleField and sizeScaleMethods from renderers
These were unused (since they were moved to data defined properties
at the symbol layer level) and were not set anywhere in
core QGIS (ie, the only way to set them was by manually calling
this api)
2016-09-13 11:05:45 +10:00
Nyall Dawson
041ceeaf9a Remove unused size/scale slots from renderer widgets 2016-09-13 11:05:45 +10:00
Nyall Dawson
3223150db6 Remove redundant (and outdated) docstrings from overriden members 2016-09-13 11:05:45 +10:00
Nyall Dawson
ae9023fe0f Remove last deprecated methods from symbology 2016-09-13 11:05:45 +10:00
Nyall Dawson
4d4aec692a Remove more deprecated symbol methods 2016-09-13 11:05:45 +10:00
Nyall Dawson
55fc40d87f Remove more deprecated methods from symbology 2016-09-13 11:05:45 +10:00
Nyall Dawson
7c1fc8e4bc Remove deprecated method from getDataValues() 2016-09-13 11:05:45 +10:00
Nyall Dawson
a921c190d0 Remove deprecated members and fix TODOs for QgsFeatureRenderer 2016-09-13 11:05:45 +10:00
Martin Dobias
02599356a0 Fix crash on QMap iteration in Qt5 2016-09-13 00:37:01 +08:00
Martin Dobias
4fa3191a85 Fix tile previews with Qt5 2016-09-12 23:52:07 +08:00
mhugent
f55d7d329e Merge pull request #3469 from mhugent/fix_joins_over_several_tables2
Sort joins by dependency
2016-09-12 16:36:05 +02:00
doublebyte1
7d4d9ab46c - Replaced use of deprecated QgsMapCanvas attribute "mapRenderer" by mapSettings 2016-09-12 11:52:55 +02:00
Patrick Valsecchi
abc55f4c42 Add support for arrays in PostgresQL
Fix parsing of PostgresQL hstore. Had problems when the key or values were
containing comas.
2016-09-12 10:33:00 +02:00
Juergen E. Fischer
93afbe12e0 fix build errors (followup 13e37d4) 2016-09-12 09:48:08 +02:00
Juergen E. Fischer
13e37d4b88 dxf export: segmentize curves
(forward ported from cc3a053)
2016-09-12 09:36:37 +02:00
volaya
074d22f6f4 Merge pull request #3471 from arnaud-morvan/processing_geometry_predicate_as_commandline
[Processing] Fix ParameterGeometryPredicate.getValueAsCommandLineParameter
2016-09-12 08:32:13 +02:00
Juergen E. Fischer
6b8130d54d remove pngs which are available as svg
(cherry picked from commit 1cbb842feb393b7bab2b31b2e970c48816c58d3c)
2016-09-11 22:33:41 +02:00
Marco Bernasocchi
bb4e6b8fb8 qgsmessagebar timeout is not respected in python
the default timeout is not respected in python

gui/qgsmessagebar.sip:51:    void pushMessage( const QString &text, MessageLevel level = INFO, int duration = 0 );


https://qgis.org/api/qgsmessagebar_8h_source.html#l00090
void pushMessage( const QString &text, MessageLevel level = INFO, int duration = 5 ) { return pushMessage( QString::null, text, level, duration ); }
2016-09-11 11:14:29 +02:00
Nyall Dawson
648b779d6f Merge pull request #3477 from nyalldawson/legend_col_align
Fixes to multicolumn legends
2016-09-10 15:51:55 +10:00
Nyall Dawson
e3313fac95 Test masks 2016-09-10 14:42:33 +10:00
Nyall Dawson
52eef90061 Make sure items in legend always occupy the set number of columns
In some cases (eg a legend with 4 items and 3 columns) less
columns were being created
2016-09-10 14:42:33 +10:00
Nyall Dawson
a673fa8393 Fix multi column legends with odd number of items would place
more items in rightmost columns instead of leftmost columns

Eg a 2 column legend with 3 items would put 1 item in
the first column and 2 in the second. This was ugly, and now
it places 2 in the first column and 1 in the second.

The legend column assigner was incorrectly adding padding above
the first item in a column during column size calculation
(padding which is not present when actually rendering the column)
2016-09-10 14:42:33 +10:00
Nyall Dawson
570e6936b6 Add a bunch of tests for legend grouping into columns 2016-09-10 14:42:33 +10:00
Nyall Dawson
4d0453eb52 Fix test try #5 2016-09-10 14:41:52 +10:00
Matthias Kuhn
5980165706 Testing the new online IDE github 2016-09-10 00:22:21 +02:00
Matthias Kuhn
fa67c55a6f One more try to get green light 2016-09-10 00:04:08 +02:00
Matthias Kuhn
f2fa09343e Fix tabwidget test for Qt5 2016-09-09 16:08:05 +02:00
Matthias Kuhn
b20d3b7e2d Less debug noise 2016-09-09 14:26:28 +02:00
Matthias Kuhn
9d9ce200ae Some doxymentation updates 2016-09-09 14:26:28 +02:00
Matthias Kuhn
9631688c85 [tests] Accept brief tags with <ref>erences 2016-09-09 14:26:27 +02:00
Matthias Kuhn
ac503770be Fix python bindings for QgsExpression::checkExpression 2016-09-09 14:26:27 +02:00
Matthias Kuhn
aa87113995 Bindings and API docs 2016-09-09 14:26:27 +02:00
Matthias Kuhn
1882cabea9 [Feature] conditional visibility for tabs and groupboxes
This adds a new configuration option to conditionally show or hide
tabs and groupboxes in drag and drop designer forms.

Configuration is done via a double click in the designer tree in the
fields configuration interface.

An expression can be entered to control the visibility. The expression
will be re-evaluated everytime values in the form change and the tab or
groupbox shown/hidden accordingly.
2016-09-09 14:26:27 +02:00
Matthias Kuhn
ac41436de3 Add QgsTabWidget
This is almost like the QTabWidget but has additional methods for
showing and hiding individual tabs
2016-09-09 14:26:27 +02:00
Matthias Kuhn
9626f589fb Add all applicable scopes for editor widget constraint validation 2016-09-09 14:26:27 +02:00
Matthias Kuhn
2e9715386d Small code beautification 2016-09-09 14:26:26 +02:00
Matthias Kuhn
8cf0ef93c4 Add QgsOptional and QgsOptionalExpression 2016-09-09 14:26:24 +02:00
Matthias Kuhn
760816bb41 Public default constructor and comparison operator for QgsExpression 2016-09-09 14:25:58 +02:00
Martin Dobias
03671eb29d Fix a warning in release build 2016-09-09 17:29:57 +08:00
Martin Dobias
b025e3a336 Add missing SIP bits 2016-09-09 17:01:02 +08:00
Martin Dobias
04b2239dde Use QgsDebugMsg instead of qDebug 2016-09-09 16:35:23 +08:00
Martin Dobias
f6a2a5e744 Clean up QgsRasterBlockFeedback class 2016-09-09 16:02:18 +08:00
Martin Dobias
267f263351 Move tile cache to a new file 2016-09-09 15:31:10 +08:00
Martin Dobias
02a9211687 Use cached tiles from other resolutions if available
This makes it easier to get at least basic preview without having to wait
until new tiles are downloaded. The strategy is to use tiles up to two levels
lower resolution tiles and one level higher resolution tiles.
2016-09-09 14:41:24 +08:00
Nyall Dawson
5e2a25119c Use tooltips in identify results dialog for values
Makes it possible to see full value even when columns are too
narrow to display the value
2016-09-09 16:13:33 +10:00
Nyall Dawson
f52a9a00d8 Merge pull request #3468 from nyalldawson/spin_box_v2
Rework Qgs(Double)SpinBox clear handling
2016-09-09 07:02:28 +10:00
arnaud.morvan@camptocamp.com
d85de7ccd8 Fix ParameterGeometryPredicate.getValueAsCommandLineParameter 2016-09-08 19:44:45 +02:00
Marco Hugentobler
7335482030 Indentation 2016-09-08 14:53:07 +02:00
Nyall Dawson
f16b3870fa Use QgsFilterLineEdit for Qgs(Double)SpinBox
Fixes issues with the current approach:
- poor appearance on certain environments (esp OSX)
- large area on spin boxes' right which "swallows" clicks
and blocks interactivity

Fix #12920
2016-09-08 22:10:36 +10:00