77 Commits

Author SHA1 Message Date
Juergen E. Fischer
6dfedc38e9 translation string fixes and cleanups 2018-02-15 22:31:15 +01:00
Denis Rouzaud
9389be83c6 [processing] search also show children in config 2018-02-06 08:36:46 -04:00
Denis Rouzaud
3b17d5a784 processing search: also search in group items and fix return value 2018-02-05 09:31:57 -04:00
Nyall Dawson
c8d1d2d588 Fix hang in options search widget 2018-02-05 08:51:47 -04:00
Denis Rouzaud
8d55cadeb7 Allow adding custom highlight widget to custom pages in option 2018-02-05 08:51:47 -04:00
Alexander Bruy
0059b2b692 [processing] remove Python 2 compatibility layer 2017-11-28 12:27:45 +02:00
Nyall Dawson
99def105bb Correct link for processing options help 2017-09-25 08:34:22 +10:00
Nyall Dawson
db04d65593 Use processing config help key 2017-09-24 08:30:28 +10:00
Nyall Dawson
e0fbe3409a Use ellipsis for isolated strings in plugins too 2017-08-11 04:33:18 +10:00
Matthias Kuhn
973d3515d1
Avoid endless wait cursors 2017-07-30 21:51:22 +02:00
Nyall Dawson
c1d9d57dd2 First working pure c++ algorithms 2017-06-06 07:41:19 +10:00
Nyall Dawson
fb1cf1e185 Remove processing algList
All functionality has been moved to QgsProcessingRegistry
2017-04-07 13:21:28 +10:00
Nyall Dawson
4970bb4cd5 Move more algList functionality to QgsProcessingRegistry 2017-04-07 13:21:28 +10:00
Nyall Dawson
2a1a71574a Move algorithm id (previously commandLineName) to QgsProcessingAlgorithm 2017-04-07 13:21:28 +10:00
Nyall Dawson
b3142a0baf Move provider algorithm handling to QgsProcessingProvider 2017-04-07 13:21:28 +10:00
Nyall Dawson
6987d7b37c Port handling of algorithm names to QgsProcessingAlgorithm 2017-04-03 21:17:45 +10:00
Nyall Dawson
2354696f26 Fix error when enabling additional providers in processing
Add an interface method to show the options dialog at a specific
page. This is required since plugins can now embed their options
in the main options dialog, so they may also need a way to
force this dialog to open.

Implement this in processing so that enabling additional providers
works again.
2017-03-24 11:16:49 +10:00
Juergen E. Fischer
8bea742216 fix flake8 warnings 2017-03-13 20:13:51 +01:00
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