106 Commits

Author SHA1 Message Date
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
Victor Olaya
72d33852f1 [processing] added extension option to ParameterFile.py 2014-06-16 12:04:26 +02:00
Juergen E. Fischer
f355ea6d7c identation update 2014-04-19 22:14:33 +02:00
Victor Olaya
674fee73b1 Removed MultipleExternalInput parameter and made it a subtype of MultipleInput 2014-04-17 12:43:12 +02:00
Juergen E. Fischer
a7b5a8a574 indentation update 2014-04-06 12:41:09 +02:00
Victor Olaya
eb360e0b37 [processing] fixed display ad handling of optional table fields in parameters panel 2014-03-26 14:57:09 +01:00
volaya
3b7b2b4528 Merge pull request #1134 from CS-SI/otb_processing_update
OTB processing update
2014-03-25 17:49:01 +01:00
volaya
ec0c820a81 Merge pull request #1052 from Oslandia/processing_gui_set_values
[processing] set droplists if parameter values are already set
2014-03-25 17:39:02 +01:00
Alexia Mondot
cdadc701ee add ParameterMultipleExternalInput parameter type 2014-01-31 11:20:50 +01:00
vmora
af55e98a45 set droplists if parameter values are already set
as a result you can set some parameters in
checkBeforeOpeningParametersDialog and they will be the default in the
interface. This is especially usefull when your algo as a lot of
parameters that you can gues (eg from layer names)
2014-01-03 14:52:49 +01:00
Nathan Woodrow
327f561cdd Fix typo 2014-01-03 20:49:32 +10:00
Nathan Woodrow
79447b92c1 Filter params and output before use. Use Enurmerate to count rows 2014-01-03 20:40:15 +10:00
Nathan Woodrow
797bd3233d Use count function 2014-01-03 20:40:14 +10:00
Nathan Woodrow
44d96825a3 Use set for getFields 2014-01-03 20:40:13 +10:00
Alexander Bruy
498a5d9ab8 [processing] code formatting, make sources more pep8 compliant 2013-10-02 16:24:10 +03:00