Nyall Dawson
0e928e8191
[processing] Correctly set parent widgets for algorithm dialogs
...
to avoid dialogs immediately going out of scope and being garbage
collected
2018-11-23 20:32:16 +11:00
Nyall Dawson
ea9d5bb363
Fix mangled fonts in script editors
...
Don't override default font letter spacing or stretch -- it's not
safe to do because the results are very dependent on the individual
font's appearance and rendering hints.
Fixes #20349
2018-11-05 10:35:18 +10:00
Nyall Dawson
a0292c3ff3
[processing] Reload scripts after a script has been saved in the editor
...
Fixes #19934
2018-09-30 08:31:06 +10:00
Luigi Pirelli
33f83d68f0
revert crs to sourceCrs for feature sources
2018-09-03 10:58:37 +02:00
Luigi Pirelli
ddc5e52ab3
update template to current api (3.4)
2018-08-31 10:41:22 +02:00
Nyall Dawson
a0b4e024bb
[processing] Respect application stylesheet in modeler/script editor dialogs
2018-08-16 09:12:22 +10:00
Alexander Bruy
65ae32aadd
[processing] homogenize filter strings for models and scripts
2018-08-03 08:34:05 +03:00
Etienne Trimaille
0685197b6c
add hint about pushing information to the user in script template
2018-07-03 16:45:55 -04:00
Nyall Dawson
1395dc0e9c
Add missing license headers
2018-06-04 11:30:32 +10:00
nirvn
45aca2f942
fix unclosed strings not style in python console & script editor
2018-05-23 10:08:02 +07:00
nirvn
9cf6bbf424
Improve default color scheme for python console & script editor
2018-05-22 17:56:25 +07:00
nirvn
45b045d212
Fix missing color settings for python console / script editor
2018-05-22 13:31:29 +07:00
Nyall Dawson
c0d9528090
Silence python warnings from 3rd party libraries on startup
2018-05-22 06:02:55 +10:00
Nyall Dawson
84163841df
[processing] Improved script editor dialog title
...
- show filename in title, or 'Untitled Script' for new
scripts
- show unsaved ('*') indicator when unsaved changes present
2018-05-21 14:28:37 +10:00
nirvn
fb882494d5
[needs-docs][processing] reword add model/script to toolbox actions
2018-05-21 10:58:40 +07:00
nirvn
05beaa73b3
[needs-docs][processing] open existing script toolbar action
2018-05-21 10:58:40 +07:00
nirvn
310bfb1e3e
[processing] show indentation guides in script editor
2018-05-20 15:50:31 +07:00
nirvn
6b3ebfc019
harmonize open script icons
2018-05-20 15:50:31 +07:00
nirvn
af45b84c1f
[processing] do no wrap line in script editor
...
(harmonize behavior with python console)
2018-05-20 15:50:31 +07:00
nirvn
2ad74b9d97
[processing] better unsaved change dialog upon closing script editor
2018-05-20 15:50:31 +07:00
nirvn
5a4d33f351
[processing] use python console color/font settings for the script editor
2018-05-20 15:50:31 +07:00
nirvn
6d067ba9e0
[processing] tiny improvements to the script editor
...
- add a keyboard shortcut to toggle the find panel
- focus on the find text box when opening panel
- find text when hitting return
2018-05-19 18:22:27 +07:00
Nyall Dawson
249dca7830
[processing] Consist helpful error messages when sinks cannot be created
...
And throw exceptions always when sinks are not created to avoid
generic errors
2018-04-28 05:50:47 +10:00
Nyall Dawson
5339d62715
[processing] More helpful errors when sources cannot be loaded
...
Include descriptive text with the specified parameter value
in error, and always check that sources were loaded to avoid
raw Python exceptions when they are not
2018-04-28 05:50:47 +10:00
Nyall Dawson
9ce21e4a82
[processing] Add an example of running a sub-algorithm correctly
...
to script template file
2018-04-27 17:04:57 +10:00
matteo
b6242b4a58
rename algorithm name in template script
2018-04-13 06:47:56 +10:00
Nyall Dawson
ad3f1781d7
[processing][needs-docs] Rename "Add Script from Template" to
...
"Create New Script from Template"
2018-04-02 17:57:03 +10:00
matteo
11c0e562bf
fix indentation
2018-03-31 18:30:40 +11:00
matteo
925d45dffb
new LoadFromTemplate action in toolbar dropdown
2018-03-31 18:30:40 +11:00
matteo
deaeaa6e97
remove useless action from script editor
2018-03-31 18:30:40 +11:00
matteo
0abd3fd226
add shortHelpString in script template
2018-03-31 18:30:40 +11:00
matteo
966bb1734f
Renamed script_template.py to ScriptTemplate.py
2018-03-31 18:30:40 +11:00
matteo
b72f0f0e90
Minor changes in Dialog
2018-03-31 18:30:40 +11:00
matteo
78ce8dde32
other indentation fixes
2018-03-31 18:30:40 +11:00
matteo
4f55c29cab
fix indentation
2018-03-31 18:30:40 +11:00
matteo
4fe067a22c
script template with basic function
2018-03-31 18:30:40 +11:00
matteo
46d59b7177
[processing][feature] load default script from template
2018-03-31 18:30:40 +11:00
Juergen E. Fischer
e1ad1cb473
more translation string fixes
2018-03-10 12:23:45 +01:00
Alexander Bruy
8d69dc1fb6
indentation
2018-02-23 11:43:32 +02:00
Alexander Bruy
a554409ede
[processing] don't use scandir() to get directory contents ( fix #18180 )
2018-02-23 10:30:03 +02:00
Juergen E. Fischer
9a3bfa01c2
fix translation strings
2018-02-22 00:37:48 +01:00
Nyall Dawson
835cca7cae
[processing] More string HIG fixes
2018-02-22 06:44:17 +11:00
Nyall Dawson
277e06ec28
[processing] Fix some message box titles
2018-02-22 06:44:17 +11:00
Juergen E. Fischer
dcfe5ca63f
update translation strings
2018-02-18 17:35:34 +01:00
Salvatore Larosa
a8a449f8c1
[processing] fix variable name
2018-02-17 16:50:43 +01:00
Denis Rouzaud
3dc3d9d1b2
unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
...
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Alexander Bruy
4f2a4644db
[processing] remove obsolete code and disable exporting models as script
...
until we update it so support new scripts format
2018-02-05 08:50:44 +02:00
Alexander Bruy
fa5ab81a2a
[processing] scripts also can be feature-based algorithms
2018-02-05 08:50:37 +02:00
Alexander Bruy
cd7bb16ad5
[processing] class name is not needed anymore to load scripts
2018-02-05 08:50:37 +02:00
Alexander Bruy
f5f0399171
[processing] use custom editor class, as QgsCodeEditor is not available
...
on some platforms
2018-02-05 08:50:37 +02:00