59 Commits

Author SHA1 Message Date
Nyall Dawson
9f23dd2414 [NEEDS-DOCS][processing] Move configuration to qgis options dialog 2017-03-07 18:12:44 +10:00
Juergen E. Fischer
f00a87cb8a update translation strings 2017-03-05 10:21:24 +01:00
Juergen E. Fischer
ecc5bb508e pep8/pyflakes3 cleanups 2017-03-04 02:38:15 +01:00
Juergen E. Fischer
a10c890383 More QgsSettings updates:
* revives WMS
* QgsSettings::clear() added
* section added to QgsSettings::contains()
* type parameter added to sip binding of QgsSettings.value()
* TODO: customization & evis
2017-03-04 02:37:59 +01:00
Nyall Dawson
04eb293362 [processing] Move some SVG icons out of plugin to themes
...and swap to using QgsApplication methods for retrieving cached icons,
implement svgIconPath for providers with SVG icons
2017-01-11 10:55:16 +10:00
Nyall Dawson
bb24dfe245 [processing] c++ base class for providers
Nothing particularly exciting here yet, but this commit
moves the definition of the provider base class to a c++
QgsProcessingProvider abstract base class.

As part of this some existing python methods were renamed
to make their use clearer and to fit with the QGIS c++
api conventions:

- getName was renamed to id
- getDescription was renamed to name
- getIcon was renamed to icon

These API breaks are documented
2017-01-11 10:55:15 +10:00
nirvn
3dcf487485 [processing] fix app freeze when closing options dialog (fixes #15550) 2017-01-03 14:03:19 +07:00
nirvn
00ee2ad989 [processing] vectorize and improve menu icons (fixes #14474) 2016-12-31 11:59:46 +07:00
Nyall Dawson
dc509f458f Fix bad import 2016-12-13 13:49:00 +10:00
volaya
4c31bc407e [processing] config dialog: only save menu configuration if needed
Conflicts:
	python/plugins/processing/gui/ConfigDialog.py
2016-12-12 15:25:07 +01:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Nyall Dawson
eba6101357 Fix broken python save/open dialogs under PyQt5
Will break stuff under PyQt4... oh well, better stuff working on Qt5
then Qt4
2016-09-05 11:41:49 +10:00
Nyall Dawson
0ead08b5b0 Fix incorrect QtGui import 2016-09-05 09:50:34 +10:00
arnaud.morvan@camptocamp.com
e716bae82f Process deleteLater events before recreating processing menus 2016-08-22 10:18:51 +02:00
arnaud.morvan@camptocamp.com
09671197e7 Add button to reset processing menus in config dialog 2016-08-21 18:18:35 +02:00
volaya
a0bfc4c99e [processing] do not remove menus when exiting config dialog 2016-07-18 09:07:05 +02:00
arnaud.morvan@camptocamp.com
9edab1e0a8 [Processing] Translate alg names in menu and options dialog 2016-06-23 17:38:46 +02:00
Alexander Bruy
d16f04bf3a [processing] support multiple scripts/models folders (fix #10476) 2016-05-26 13:56:21 +03:00
Matthias Kuhn
25f2e637c0 Remove references to QPyNullVariant 2016-05-13 22:23:03 +02: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
volaya
bee4068b89 [processing] handle provider modifications when settings have been edited 2016-04-27 13:36:28 +02:00
volaya
673a86040d [processing] extended 'menus' section in options, to allow adding buttons 2016-04-05 09:55:42 +02:00
Septen
736be486e7 Typo fixes. Stylystic fixes. 2016-03-23 05:43:59 +03:00
Septen
8c9eddcdc6 Some PEP8 fixes. 2016-03-23 00:55:36 +03:00
Septen
4a046b7db1 Merge branch 'master' of git://github.com/qgis/QGIS 2016-03-22 23:51:59 +03:00
Septen
6c31d89a51 (ref #14469) Processing options: search optimized. Cleanups. 2016-03-22 23:47:07 +03:00
Septen
12aedac622 (ref #14469).Added search feature for Processing options.
* Added possibility to search within Processing options,
  either for providers or provider nodes.
2016-03-22 02:36:25 +03:00
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Alexander Bruy
8afd1103c1 don't duplicate Menus entry in settings 2016-03-20 08:41:27 +02: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
Alexander Bruy
6610c6e25d [processing] don't throw error when new provider added and settings is not updated yet 2016-03-13 13:22:19 +02:00
volaya
af8a62d93e [processing] alg menus can now be configured from Processing options 2016-03-01 15:57:32 +02:00
Alexander Bruy
5df0ce04e8 [processing] replace fTools and GdalTools plugins with Processing 2016-03-01 15:57:32 +02:00
Sab
06357dd31e Fix problem with QSpinBox error in Processing dialog windows
This will cause QGIS to crash, when accessing Processing > Options
items.
2015-11-26 13:12:03 +00:00
Nyall Dawson
53aa583da0 [processing] Use QgsDoubleSpinBox instead of QSpinBox
Allows for simple calculations in spin box, adds a reset control
to reset widget to default value
2015-11-18 16:27:04 +11:00
Juergen E. Fischer
9a89408b72 indentation update 2015-11-10 20:21:10 +00:00
volaya
86556c227b [Processing] corrected wrong change in config dialog 2015-11-08 16:31:45 +01:00
volaya
f0bbb88944 [Processing] fixed #13790 (issue saving config option) 2015-11-08 16:28:10 +01:00
volaya
edb3cf350e [processing] add option to add validators to settings 2015-11-06 11:36:22 +01:00
Juergen E. Fischer
f996c54776 indentation update 2015-10-30 23:30:16 +01:00
volaya
4f8a27dd64 [Processing] add default extensions for outputs as setting
Based on an idea and code by Evgeniy Nikulin

It includes some improvements to the settings sysmte
2015-10-24 21:18:17 +02:00
volaya
e27f6a12c6 [processing] fixed handling null values in Processing settings in Mac 2015-10-01 08:46:09 +02:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
volaya
b80a1bcac5 [processing] fixed handling of folders and files in settings
fixes #12511
2015-06-26 12:00:02 +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
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
Juergen E. Fischer
f2b7c0fcf8 handle unset setting values in processing (fixes #11340) 2014-10-22 01:21:45 +02:00
Alexander Bruy
bd13693ae3 [processing] make bunch of strings translatable (sorry translators) 2014-10-04 11:36:39 +03:00