89 Commits

Author SHA1 Message Date
nirvn
8849e94208 [processing] vectorize basic modeler images 2016-12-31 11:59:53 +07:00
Alexander Bruy
95072e9bfd Merge pull request #3802 from alexbruy/processing-scripts
[processing] script editor UI improvements
2016-11-24 14:36:57 +02:00
Alexander Bruy
c3ed39061d [processing] improve script editor dialog
Use QMainWindow instead of QDialog, add normal toolbar instead of
QToolButtons. Also fix some issues caused by Qt5 switch.
2016-11-24 12:34:59 +02:00
nirvn
a6ebe830b0 [processing] upgrade modeler to make use of qgsdockwidgets 2016-11-24 11:59:19 +07:00
nirvn
6e2288dccb [processing] switch a couple of modeler pop up dialogs to message bars 2016-11-23 17:28:34 +07:00
nirvn
2652aa50c9 [processing] improve the modeler dialog UI and icons
- use a proper toolbar to match other parts of QGIS
- show keyboard shortcuts in toolbar action tooltips
- create vector icons to replace PNG ones
2016-11-23 13:45:17 +07:00
nirvn
f3d7e39abb [processing] harmonize modeler UI behavior with QGIS
- use [close without saving][cancel][save] option when closing
a modeler with unsaved changes
- invert mouse wheel zoom in/out to match that of QGIS' main
canvas window
- holding the mouse middle click and dragging will pan the
modeler view
2016-11-11 15:47:42 +07:00
Nyall Dawson
3550cc99a6 [processing] Allow algorithms to specify tags
Tags are used while searching in the toolbox. This should help with
finding algorithms when the exact name is not known, eg
you could search for "envelope" or "bounds" and find the
'Polygon from Layer Extent' algorithm.

At the moment it's quite hard to discover algorithms which exist
when you don't know what their called and have to instead search
for every possible naming variant which could exist...
2016-11-08 10:15:31 +10:00
Nyall Dawson
6a99017bf0 [processing] Use with ... when opening files 2016-11-07 11:36:38 +10:00
Nyall Dawson
dd4b34ed16 [processing] Modeller should not be modal 2016-10-31 14:37:45 +10:00
nirvn
8ee25cdfa8 [processing] fix modeleter mouse wheel zoom under qt5 2016-10-22 12:28:17 +07:00
arnaud.morvan@camptocamp.com
4184934b9a [processing] Apply 2to3 on changes 2016-10-05 12:39:01 +02:00
Alexander Bruy
3407ced90e fix indentation
Conflicts:
	python/plugins/processing/gui/BatchInputSelectionPanel.py
	python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:50 +02:00
volaya
96406e52cd [processing] removed message dialog when saving model. Using message bar instead 2016-10-05 12:38:15 +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
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Juergen E. Fischer
6b8130d54d remove pngs which are available as svg
(cherry picked from commit 1cbb842feb393b7bab2b31b2e970c48816c58d3c)
2016-09-11 22:33:41 +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
Alexander Bruy
48cca3bc12 [processing] always use user-defined default folder for scripts/models 2016-07-25 16:22:21 +03:00
Alexander Bruy
af201211dd fix indentation 2016-05-26 14:43:18 +03:00
Alexander Bruy
d16f04bf3a [processing] support multiple scripts/models folders (fix #10476) 2016-05-26 13:56:21 +03:00
volaya
f915cbe63e [processing] fixed modeler dialog 2016-05-25 14:59:08 +02:00
volaya
33fc3be15f [processing] separated alglist to its own module 2016-05-23 19:36:16 +02:00
volaya
e6b76c4d7b [processing] cleaning and restructuring
This fixes some design errors (mainly the ModelerUtils class, which is not needed anymore to hold a copy of algs and providers in order to avoid circular dependencies) and removes unused code
2016-05-23 19:34:25 +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
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
Salvatore Larosa
8346601174 [processing] remove unused code: followup e7e8451 2016-01-23 15:03:34 +01:00
volaya
a549ded47b [processing] prevent circular dependencies in models
fixes #99090
2016-01-19 09:39:57 +01:00
volaya
931ca4d6d6 [processing] indentation fixes 2016-01-08 12:52:19 +01:00
Alexander Bruy
4137437f2c PEP8 fixes 2016-01-08 10:32:43 +02:00
volaya
62302377db [processing] UI/UX improvements
Related to QEP #19

Some algorithm description provided by Frank Sokolic
2016-01-08 08:27:22 +01:00
Juergen E. Fischer
9a89408b72 indentation update 2015-11-10 20:21:10 +00:00
volaya
227af8ac8e [processing] brought back 'export model as python' functionality 2015-11-06 14:02:11 +01:00
volaya
8ed71fbd38 [processing] corrected some issues with i18n names 2015-09-21 07:45:17 +02:00
Juergen E. Fischer
23ea045d49 indentation update 2015-09-12 15:25:56 +02:00
Salvatore Larosa
f3c7d853fd [processing] save modeler dialog/splitter geometry to settings 2015-09-10 18:08:00 +02: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
Juergen E. Fischer
66a3d02240 integrate processing into update_ts.sh (also includes all translations
in the repository and none outside of it).
2015-07-26 04:28:37 +02:00
arnaud.morvan@camptocamp.com
c7b384135e Processing translation tool for names and groups 2015-07-17 15:15:53 +02:00
HenningJagd
2f9b9265d6 [processing] behavior of scroll zoom in the modeler
Zooming shouldn't recenter the scene on the cursor, only scale the scene
around it.
2015-05-22 12:59:25 +02:00
arnaud.morvan@camptocamp.com
c19a4a70bd Fix processing model help saving and make script help content saving consistent with models behavior 2015-05-21 17:29:02 +02:00
volaya
87f2370da3 [processing] implement alternative display names for algorithms 2015-05-21 16:53:46 +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
Alexander Bruy
b456f4d69c [processing] restore missed icons in various dialogs 2015-02-03 11:23:22 +02: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
7106384c33 [processing] fixed model help editing 2015-01-22 13:23:41 +01:00