Nyall Dawson
1b2afea23e
Add some more clone methods to algorithm subclasses
2017-07-07 09:26:17 +10:00
Nyall Dawson
0c6b19cd85
Improvements to QgsProcessingAlgRunnerTask
...
- take a clone of algs before running them. This avoids issues
if the algorithm is removed or edited while a background task
is running
- accept an optional existing feedback object
2017-07-07 09:26:17 +10:00
Nyall Dawson
6d7b0a3bbc
Fix re-saving already saved models
2017-07-07 09:26:17 +10:00
Nyall Dawson
9156933c9e
Add a pure virtual clone method for algorithms
...
This is required for safely executing the algorithm in a background
thread.
2017-07-07 09:26:17 +10:00
Nyall Dawson
fcf336170e
Merge branch 'bugfix_relationquote' of https://github.com/pblottiere/QGIS into pblottiere-bugfix_relationquote
2017-07-07 08:59:19 +10:00
Nyall Dawson
603168e8fa
Update sip
2017-07-07 08:54:00 +10:00
Blottiere Paul
e5eda5f889
Add a hint on widgets for non existent joined features
2017-07-06 21:27:37 +02:00
Nyall Dawson
bacad8cea6
[needs-docs] Show recently used fonts in submenu in font button
2017-07-06 19:56:39 +10:00
Nyall Dawson
e95b65ef48
[needs-docs] Mouse wheeling over font buttons can change font size
...
With ctrl+mouse wheel changing in smaller size increments
2017-07-06 19:56:39 +10:00
Nyall Dawson
0fd1f8e563
Fix size hint for font button
2017-07-06 19:56:39 +10:00
Nyall Dawson
99855ea35a
Add method to use QgsFontButton in cut down mode for QFont settings only
...
The button can now be used in two different modes. The default behavior
is to include all settings used for configuring
QgsTextFormat/QgsTextRenderer classes. A cut down mode (without settings
for color/buffer/drop shadow/etc) is also available when the resultant
font is to be used only in a QFont object.
2017-07-06 19:56:39 +10:00
Nyall Dawson
5ac9745cad
Add methods to convert QFont to/from mime data
2017-07-06 19:56:39 +10:00
Nyall Dawson
0b9fb5d6e1
[needs-docs] New gui widget QgsFontButton
...
A standard widget for configuring text format properties for use
with QgsTextRenderer/QgsTextFormat.
It's modelled heavily off QgsColorButton, and supports lots of nice
things like dragging formats between buttons, copying and pasting
format settings, dropping colors from color buttons, dragging colors
from font buttons to color buttons, directly setting font size
and opacity/color without having to open a dialog.
2017-07-06 19:56:39 +10:00
Nyall Dawson
ddf5acebe7
Merge pull request #4807 from nyalldawson/layout_item_registry
...
Create a layout item registry for item types
2017-07-06 19:12:43 +10:00
Blottiere Paul
15546d84cf
Add a method which builds an expression to test if a field is equal to a value
2017-07-05 18:40:08 +02:00
Denis Rouzaud
5b8e2c2f27
remove QgsVectorLayer::hasGeometryType in favor of QgsMapLayer::isSpatial
2017-07-05 10:18:32 +02:00
Nyall Dawson
1fc81d6f98
Fix typo (coordiantes)
2017-07-04 14:33:11 +10:00
Nyall Dawson
6307bc490d
Merge pull request #4808 from nyalldawson/model_out_layer_names
...
Fix incorrect layer names used when loading result layers from models
2017-07-03 17:46:21 +10:00
Harrissou Sant-anna
b57cd0deb1
[processing] align the "Iterate over layer" button ( #4796 )
2017-07-03 14:13:30 +07:00
Nyall Dawson
bdaba00a01
Fix incorrect layer names used when loading result layers from models
2017-07-03 17:08:52 +10:00
Harrissou Sant-anna
59e9f79658
ok is spelled OK
2017-07-03 08:49:50 +02:00
Nyall Dawson
ada01d8671
Fix build warnings
2017-07-03 15:00:00 +10:00
Nyall Dawson
7972092311
Update docs, sip
2017-07-03 14:21:40 +10:00
Nyall Dawson
c228132cbb
Layout designers listen out for new item types in registry and
...
auto create actions for adding new items of the newly registered type
This avoids hard-coding in available item types into layout UI classes,
and allows designers to handle plugin-supplied item types
2017-07-03 13:57:42 +10:00
Nyall Dawson
97e8d9cf9e
Emit signal when new layout item types are added to registry
2017-07-03 13:29:23 +10:00
Nyall Dawson
d23abf955a
Add registration of item types to QgsLayoutItemRegistry
2017-07-03 13:22:15 +10:00
Nyall Dawson
4f21afac0f
Shell layout designer dialog
2017-07-03 12:14:56 +10:00
Nyall Dawson
4c52db94c6
Merge pull request #4805 from DelazJ/checkbox
...
Spelling: Replace check box by checkbox
2017-07-03 12:10:22 +10:00
Nyall Dawson
37cc8fc5f1
Don't allow removal of model parameters on which other parameters
...
depend
2017-07-03 11:02:45 +10:00
Nyall Dawson
921939e4ec
Add method to determine whether dependencies exist between model parameters
2017-07-03 10:50:35 +10:00
Nyall Dawson
6483984d0b
Add method to retrieve dependent parameters for a parameter
2017-07-03 10:45:15 +10:00
Nyall Dawson
f9f98593e0
Draw links between dependent parameters in graphical modeler
...
Fix #12907
2017-07-03 10:27:03 +10:00
Nyall Dawson
f4d703bd38
Fix processing modeler joins are drawn doubled
...
OCD fix: joins are actually being drawn with two lines going
in both directions. This is totally 100% unacceptable, so
this commit fixes it so they are correctly drawn only with one line.
2017-07-03 10:25:40 +10:00
Harrissou Sant-anna
35cbfa0087
Replace check box by checkbox
2017-07-02 23:25:40 +02:00
Harrissou Sant-anna
338b4c0621
Add catalog to spell_check
2017-07-02 22:28:50 +02:00
Harrissou Sant-anna
450eb7c24a
Spelling check: Replace analyse by analyze
2017-07-02 22:28:50 +02:00
Harrissou Sant-anna
8d6af77287
Replace catalogue by catalog
2017-07-02 22:28:50 +02:00
Blottiere Paul
3e2d9c5445
Add consistency between ptrs and ref
2017-07-02 16:58:54 +02:00
Nyall Dawson
18b2b5240b
Add some base classes for layouts
2017-06-30 17:01:52 +10:00
Nyall Dawson
cd979d8ab0
[layout] Create a page size registry for layout
...
Adds a new QgsPageSize class and QgsPageSizeRegistry registry
(attached to QgsApplication), which stores and manages known
page sizes
2017-06-30 16:23:18 +10:00
Blottiere Paul
c6ffd54170
Joined fields are updated according to the target field name in form
2017-06-30 06:46:22 +01:00
Blottiere Paul
73bb463c05
[needs-doc] New option to update joined fields in form
2017-06-30 06:45:34 +01:00
Nyall Dawson
77588b9b61
Convert model child algorithm parameter sources to a list
...
So that multiple input type parameters are correctly handled,
allowing models with child algorithms like merge to correctly
use any combination of static layers/model inputs/child outputs
as their input parameter
2017-06-30 12:50:38 +10:00
Nyall Dawson
8d6d097ad8
Add conversion for QMap< QString, QList< TYPE > > for Python bindings
2017-06-30 12:50:38 +10:00
Nyall Dawson
bf3d55c9e5
Move flushBuffer method up to QgsFeatureSink
...
Allows calling flushBuffer on QgsFeatureSink objects, ensuring
that any internal buffer the sink may have is flushed
2017-06-30 09:20:56 +10:00
nirvn
26d9c74bc4
[processing] keep only one zonal statistics algorithm
2017-06-29 11:53:04 +07:00
nirvn
58f6f93cb6
[zonal statistics] add variance statistic
2017-06-29 11:53:04 +07:00
Nyall Dawson
8379f9bb98
Merge pull request #4791 from nyalldawson/reproj_test
...
Use native projection algorithm for unit test
2017-06-29 09:30:16 +10:00
Nyall Dawson
468e44dc3a
Use native projection algorithm for unit test
2017-06-29 08:33:34 +10:00
Nyall Dawson
144d733b12
Use a QgsFeedback instead of QProgressBar for QgsNineCellFilter
...
Gives progress reports and allows cancelation of processing
aspect algorithm
2017-06-29 08:03:57 +10:00