Nyall Dawson
d270b4f9c2
Improvements to task manager ui
2016-12-05 14:08:11 +10:00
Nyall Dawson
5da25136a6
New QgsFloatingWidget widget for easy creation of widgets which "float"
...
above a layout.
Supports setting another widget as a anchor point for the widget, eg
the floating widget could be set so that it's always placed to the
top-right of the anchor widget.
2016-12-05 14:08:11 +10:00
Nyall Dawson
f85d24e9c7
Fix some crashes
2016-12-05 14:08:11 +10:00
Nyall Dawson
55e9d32671
Add handling of dependent layers to task manager
...
If a task has dependent layers which are about to be removed,
the task will automatically be cancelled
2016-12-05 14:08:11 +10:00
Nyall Dawson
eb34079c01
Don't crash when python exceptions occur in non-main thread
2016-12-05 14:08:11 +10:00
Nyall Dawson
4c0f4ee6f0
Resolve circular dependencies
2016-12-05 14:08:11 +10:00
Nyall Dawson
b065edeed7
Improvements to QgsTaskWrapper
2016-12-05 14:08:11 +10:00
Nyall Dawson
4291904c8d
Support for dependent tasks
...
Cancelling a task on which others depend leads to all these other
tasks getting cancelled as well.
2016-12-05 14:08:11 +10:00
Nyall Dawson
73e72fa590
Don't block when deleting tasks
2016-12-05 14:08:10 +10:00
Nyall Dawson
dcecf4476f
Add support for placing queued tasks on hold
2016-12-05 14:08:10 +10:00
Nyall Dawson
cf5eeb758b
API cleanups
2016-12-05 14:08:10 +10:00
Nyall Dawson
5d4689294d
Add simple python method QgsTask.fromFunction for creation of tasks
...
from a function without having to create a QgsTask subclass
2016-12-05 14:08:10 +10:00
Nyall Dawson
e29dd79432
Api + test cleanups
2016-12-05 14:08:10 +10:00
Nyall Dawson
6021d7806e
Make QgsTaskManager handle threading of tasks
2016-12-05 14:08:10 +10:00
Nyall Dawson
ebae15f23a
Framework for task manager
...
Adds new classes:
- QgsTask. An interface for long-running background tasks
- QgsTaskManager. Handles groups of tasks - also available as a global
instance for tracking application wide tasks
- QgsTaskManagerWidget. A list view for showing active tasks and their
progress, and for cancelling them
A new dock widget has been added with a task manager widget showing
global tasks
2016-12-05 14:08:10 +10:00
nirvn
ab4a37f760
[color ramp] save/restore invert state for cpt-city ramps
2016-12-05 10:20:28 +07:00
nirvn
c8266a2512
Followup 08ee180: more appropriate ramp type property name
2016-12-05 08:47:35 +07:00
Nyall Dawson
dc697d0590
Followup 59a0e2
2016-12-05 11:23:23 +10:00
mj10777
59a0e2fb88
Fix #15829 georeferencer - resolve logical error during loadGCPs
2016-12-05 11:09:24 +10:00
Nyall Dawson
be4c8156c6
Merge pull request #3787 from nyalldawson/spatialite_index
...
[FEATURE] Create attribute index support for spatialite provider
2016-12-05 10:54:19 +10:00
Nyall Dawson
5f13cbe37b
Blacklist flaky PyQgsAuthManagerPKIOWSTest test
2016-12-05 10:26:00 +10:00
Nyall Dawson
c800998df3
Remove goto's from qgsspatialiteprovider.cpp
2016-12-05 10:22:29 +10:00
Nyall Dawson
bd8d2121dc
[FEATURE] Create attribute index support for spatialite provider
...
Allows creation of attribute indexes for spatialite layers
2016-12-05 10:22:29 +10:00
Nyall Dawson
6a61179451
Disable a bunch of actions which don't apply to vector layers
...
without geometry (fix #15933 )
2016-12-05 09:53:07 +10:00
Nyall Dawson
e9274475f8
Remove unused network header includes from qgsgeometry.cpp
2016-12-05 08:54:35 +10:00
Mathieu Pellerin
08ee1806a6
[FEATURE] cpt-city catalog support in color ramp's gradient-only mode ( #3832 )
...
cpt-city catalog ramps are now available for gradient-only:
- shapeburst fill
- gradient fill
- inner/outer glow effect
2016-12-04 11:39:41 +07:00
Mathieu Pellerin
e94a352e08
[color ramp] improve invert() for discrete gradient ramps ( #3833 )
2016-12-04 11:34:16 +07:00
Mathieu Pellerin
e135e79770
Merge pull request #3827 from nirvn/color_ramp_migration
...
Migration of remaining color ramp widgets
2016-12-03 14:16:33 +07:00
nirvn
6009f5a41d
[raster] fix singleband pseudo-color crash on single-color color presets ramp
2016-12-03 14:12:30 +07:00
nirvn
137a211bae
[color ramp] do not automatically save new ramps
2016-12-03 14:12:16 +07:00
nirvn
4a5876854c
[style manager] update ramp type naming button shortcuts
2016-12-03 14:04:09 +07:00
Mathieu Pellerin
a26434e8bd
Merge pull request #3829 from nirvn/colorrampbutton_save
...
- [FEATURE] save existing color ramp function
- improve new color ramp type naming
2016-12-03 13:41:46 +07:00
nirvn
0b9fbeb983
QgsColorRampComboBox is dead, long live QgsColorRampButton
2016-12-03 13:40:27 +07:00
nirvn
56c5534455
[symblogy] migrate heatmap renderer color ramp widget
2016-12-03 13:40:27 +07:00
nirvn
e604fc9fe1
[effects] migrate inner/outer glow color ramp widget
2016-12-03 13:40:27 +07:00
nirvn
aa4d751590
[symbology] migrate shapeburst color ramp widget
2016-12-03 13:40:27 +07:00
nirvn
d863c449f0
improve new color ramp type naming
2016-12-03 11:02:22 +07:00
nirvn
04c6007e17
[FEATURE] save existing color ramp function
2016-12-03 10:53:23 +07:00
Harrissou Sant-anna
1560c7ff1d
Use a standardized size for authentication dialogs icons ( #3824 )
2016-12-03 10:00:29 +07:00
Webmaster
37c43df6eb
partial revert of commit 4b680ca
2016-12-02 23:11:54 +07:00
Mathieu Pellerin
4b680ca575
[style dock] re-order vector layer rendering group to save vertical space ( #3828 )
2016-12-02 18:24:43 +07:00
volaya
d849e43278
[processing] fixed gdal proximity
...
Fixes #15895
2016-12-02 10:38:43 +01:00
Bernhard Ströbl
b02c6a3206
[processing][FEATURE] Return multi geometries from split alg
...
accept multi geometries as input
2016-12-02 16:47:30 +10:00
Nyall Dawson
3a789e5f14
Merge pull request #3825 from nyalldawson/legend_count
...
QgsVectorLayer::featureCount( QgsSymbol* symbol ) to featureCount( const QString& legendKey )
2016-12-02 16:35:20 +10:00
Mathieu Pellerin
eb85e3fcfa
[raster] migrate singleband pseudo-color renderer color ramp widget ( #3817 )
2016-12-02 12:48:45 +07:00
Richard Schoerghofer
1a24452c1d
Update qgis_icon_xmas.svg ( #3820 )
...
the positioning of the svg was not optimal, because the xmas hat is allways cutted, now all is in the documents view area.
2016-12-02 12:35:59 +07:00
Nyall Dawson
7de1cc2f13
Removed unused QgsLayerTreeModelLegendNode::SymbolLegacyRuleKeyRole
2016-12-02 13:55:41 +10:00
Nyall Dawson
6d0203d612
Change QgsVectorLayer::featureCount( QgsSymbol* symbol ) to instead
...
use a legend key string
Avoids crashes due to symbol pointer lifetime issues
2016-12-02 13:55:41 +10:00
Nyall Dawson
42d3f4b285
Fix ui build warning
2016-12-02 09:50:38 +10:00
Nyall Dawson
968c82a30b
Small cleanups for QgsColorRampButton
2016-12-02 09:47:55 +10:00