34541 Commits

Author SHA1 Message Date
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
Nyall Dawson
228ff23d81 Fix cursor not always reset when clearing widget 2016-09-08 21:48:25 +10:00
Nyall Dawson
d959384c8b Allow hiding clear button in QgsFilterLineEdit 2016-09-08 21:48:25 +10:00
Nyall Dawson
d71453d84a Add ability to set default values for QgsFilterLineEdit
and have clearing the widget reset to default rather than
null
2016-09-08 21:48:25 +10:00
Nyall Dawson
edcc247c3e Add unit tests for QgsFilterLineEdit, improve docs, add clearValue slot 2016-09-08 21:48:25 +10:00
Nyall Dawson
0f5f09401e Remove min size from QgsFilterLineEdit
Now the widget gracefully handles shrinking
2016-09-08 21:48:25 +10:00
Marco Hugentobler
41c1d6b9b8 Sort joins by dependency 2016-09-08 13:42:52 +02:00
Matthias Kuhn
a90217db16 Merge pull request #3459 from pvalsecc/hstore
[FEATURE] hstore
2016-09-08 11:42:37 +02:00
Matthias Kuhn
74cceb4e1b Remove duplicated call to parse editform config 2016-09-08 11:13:26 +02:00
Patrick Valsecchi
e533f0ccf8 Add widget to edit QVariantMap 2016-09-08 11:11:08 +02:00
Patrick Valsecchi
3d6e7c8bdb Add hstore support to the postgres provider 2016-09-08 09:51:46 +02:00
Nyall Dawson
25191e1cd1 Merge pull request #3461 from nyalldawson/filter_line_edit
Rework QgsFilterLineEdit handling of clear button
2016-09-08 06:05:51 +10:00
Nyall Dawson
845b2a04bf Merge pull request #3462 from pvalsecc/fix_auto_rangewidget
Fix auto conf of QgsRangeWidgetWrapper
2016-09-07 20:40:01 +10:00
Patrick Valsecchi
5eb70d3382 Fix auto conf of QgsDateTimeEditWrapper 2016-09-07 10:32:31 +02:00
Matthias Kuhn
03f0b44e4e Typo 2016-09-07 09:48:36 +02:00
Matthias Kuhn
02ae886d69 Map renderer sends signal on layers finished but before labeling 2016-09-07 09:00:18 +02:00
Patrick Valsecchi
8d9cf9de06 Fix auto conf of QgsRangeWidgetWrapper
The default range was 0..100, made it to min..max of the type.
QgsRangeWidgetWrapper is auto selected only for Int and Double QVariants,
now. The used widgets don't support 64 bits and Uint ranges.
2016-09-07 08:05:56 +02:00
Denis Rouzaud
45373d0ecb Merge pull request #3458 from 3nids/parallel
parallel rendering enabled by default
2016-09-07 07:23:17 +02:00
Nyall Dawson
9ccbe179a4 Increase some test timeouts to handle when Travis is slow 2016-09-07 08:06:50 +10:00
Nyall Dawson
98f25f59e7 Rework QgsFilterLineEdit handling of clear button
Don't use a child button but instead paint the icon when
required. Improves interaction with the widget/clear
button.
2016-09-06 16:45:32 +10:00
Nyall Dawson
63cc762139 Fix crash when 'use popup' is selected for time based datetime widgets 2016-09-06 09:30:08 +10:00
Nyall Dawson
cd236218e0 Fix some editor widget config dialogs don't show default settings 2016-09-06 09:30:08 +10:00
Nyall Dawson
16715361fb Merge pull request #3457 from nyalldawson/pygments
Upgrade internal pygments to 2.1.3
2016-09-06 08:56:33 +10:00
Matthias Kuhn
e1f21b003c Add missing headers 2016-09-05 14:35:51 +02:00
Patrick Valsecchi
7169079f91 Smarter default edit widgets with plugins to pick them
Now the widgets factories can give a score on how good they could handle
a widget.

Additionaly, plugins can be added to choose a widget factory in function
of an external information. One of them uses a table in PostgresQL to
allow specification of the widget type and configuration.

I took the opportunity to remove a few deprecated method in relation to
this.
2016-09-05 14:22:17 +02:00