70 Commits

Author SHA1 Message Date
Juergen E. Fischer
c77172ed3d fix more flake8 warnings 2017-03-05 10:21:24 +01:00
Nyall Dawson
0f42ea781a [processing] Don't use separate label for checkbox parameters
Instead embed description as checkbox label.
2017-01-09 16:52:46 +10:00
Martin Dobias
d56a97d4fe Merge QgsMapLayerRegistry into QgsProject
All methods/signals of QgsMapLayerRegistry moved verbatim to QgsProject.
2016-12-10 15:18:12 +08:00
Alexander Bruy
50a785bdd6 [processing] indentation update 2016-12-01 12:53:57 +01:00
volaya
fcc343724e [processing] some fixes and changes in parameters and parameters panel 2016-12-01 12:50:27 +01:00
arnaud.morvan@camptocamp.com
4184934b9a [processing] Apply 2to3 on changes 2016-10-05 12:39:01 +02:00
arnaud.morvan@camptocamp.com
9e36582feb Simplify TableFieldWidgetWrapper
Conflicts:
	python/plugins/processing/gui/ParametersPanel.py
	python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:43 +02:00
volaya
ae0e9c8442 [processing]minor code cleaning
Conflicts:
	python/plugins/processing/core/parameters.py
2016-10-05 12:38:38 +02:00
volaya
cdcc01e97c [processing] removed debug lines 2016-10-05 12:38:22 +02:00
volaya
fe5d0166cc [processing] added multiple option to ParameterTableFIeld
removed ParameterTableMultipleField and did some cleanup
2016-10-05 12:38:09 +02:00
volaya
efd73a491f [processing] fixes for new parameters architecture
includes better managing of crd and extent parameters in models, not requiring now the use of modeler-only lags
2016-10-05 12:35:00 +02:00
volaya
b298c76ee4 [processing] implemented parameter widget wrappers
Conflicts:
	python/plugins/processing/core/GeoAlgorithm.py
	python/plugins/processing/gui/ExtentSelectionPanel.py
	python/plugins/processing/modeler/ModelerParametersDialog.py
2016-10-05 12:34:58 +02:00
arnaud.morvan@camptocamp.com
6158e9b340 Add CrsWidgetWrapper 2016-10-05 12:34:55 +02:00
arnaud.morvan@camptocamp.com
f3c9aaaa2b Use boolean wrapper in standard algorithm dialog
Conflicts:
	python/plugins/processing/gui/AlgorithmDialog.py
2016-10-05 12:34:52 +02:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Alexander Bruy
65db336eaf [processing] move some constants to the dataobjects module 2016-09-02 09:28:45 +03:00
Alexander Bruy
7e26124c2b [processing] support for output geometry types (work in progress) 2016-09-02 09:28:32 +03:00
Alexander Bruy
acdde31b3d [processing] more cleanups (follow up 06c4b07222) 2016-08-05 15:05:36 +03:00
Nyall Dawson
fbc5e0fc8e Fix indentation 2016-06-07 11:11:59 +10:00
Marco Bernasocchi
f9ab7223fc [processing] ParameterTableMultipleField type added
This adds a widget with multiple column attributes selector
2016-06-03 09:27:51 +02:00
volaya
841f8fb74e [processing] re-enabled tooltips in algorithm dialog 2016-05-27 11:27:23 +02:00
arnaud.morvan@camptocamp.com
586e9bfabc [Processing] Fix updateDependentFields 2016-05-26 15:08:29 +02:00
arnaud.morvan@camptocamp.com
afbe914114 Processing - Support OutputVector with no geometry in GUI 2016-05-17 14:16:16 +02:00
Alexander Bruy
f1e6d8731b [processing] add support for int64 fields (fix #14777) 2016-05-09 11:43:58 +03:00
Matthias Kuhn
abfd7740bd Fix qgis.PyQt compatibility imports 2016-04-29 14:10:41 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Juergen E. Fischer
c6d921729e python fixes:
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
  python/console/console_sci.py:547 QsciScintillaCompat?
  python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00
Matthias Kuhn
99e21a7e5b [processing] Silence warning 2016-03-15 11:55:16 +01:00
Alexander Bruy
58d40d16fa [processing] add ParameterPoint for selecting point on canvas (fix #5733) 2016-02-29 12:41:26 +02:00
volaya
4c34871f0a [processing] fixed problems when opening/removing layers while alg dialog is open 2016-01-18 15:02:10 +01:00
rldhont
cc2fb2efda [Processing] Update gui 2015-12-24 15:14:02 +01:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
Matthias Kuhn
9fc1b48bf3 Replace str() with unicode() and some PEP 8 2015-08-16 20:58:43 +02:00
volaya
ae7f180c09 [processing] fixed attribute filtering in parameters panel for ParameterTableFIeld param
fixes #12807
2015-06-26 12:43:21 +02:00
Alexander Bruy
d8e1cf30af [processing] load UI files dynamically 2015-05-19 15:30:26 +03:00
Alexander Bruy
30dbd8fd5b [processing] drop resources.qrc and load images dynamically. Also remove
unused images
2015-05-19 15:30:25 +03:00
arnaud.morvan@camptocamp.com
84936e59e7 Add ParameterGoemetryPredicate and use it in XxxByLocation algorithms 2015-02-06 15:00:18 +01:00
Giovanni Manghi
2a339082c4 fix enconding in processing when input layer names have non ascii chars 2015-02-03 08:06:27 +00:00
Juergen E. Fischer
956c155e8f fix python pep8 warnings and fix some revealed errors
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
     --exclude="ui_*.py,debian/*,python/ext-libs/*" \
     .
2015-02-01 20:46:47 +01:00
volaya
e4c9a20205 [processing] show layers in alphabetical order in dropdown menu 2014-12-03 15:55:53 +01:00
Alexander Bruy
bec113b1bc [processing] refactor algortim dialog
Now we have base class AlgorithmDialogBase for all algortims. Dialogs
for algorithms and batch processes should be created by subclassing this
base dialog and adding to it corresponding parameters panel.

ParametersPanel for single algorthm already updated to this approach.
2014-11-17 20:03:31 +02:00
Alexander Bruy
6fb32687c4 [processing] remove MultipleFileInputPanel as it duplicates MultipleInputPanel
homogenize UI in FileSelectionPanel and RenderinStylePanel, remove inused imports
2014-11-17 20:03:30 +02:00
Alexander Bruy
e0fc515af0 [processing] show layers sorted only for single selection widget and use
legend order for multiple selection
2014-10-05 00:02:31 +03:00
Alexander Bruy
bd13693ae3 [processing] make bunch of strings translatable (sorry translators) 2014-10-04 11:36:39 +03:00
Alexander Bruy
ace704a424 [processing] use checkbox for boolean parameters 2014-09-24 12:11:33 +03:00
volaya
6486594f57 [Processing] Refactoring of parameters and outputs
It also adds some changes in the core and tools package, to provide a cleaner structure
2014-07-14 14:47:05 +02:00
Victor Olaya
1eff31ad96 [processing] add 'optional' label to optional parameters in input dialog 2014-06-30 07:38:38 +02:00
Nyall
0a7e69c6a0 [processing] Add [not set] option for field combos when parent layer changes (fix #10728), also fix some strings displaying with extra spaces 2014-06-27 08:33:32 +10:00
Victor Olaya
2e9a088e44 [processing] fixed layer selector panel to use file filter 2014-06-20 23:18:36 +02:00