22 Commits

Author SHA1 Message Date
Shiva Reddy
7583d52ef6 Modify Graphical Modeler title
The menu item and title of the dialogue is now same i.e Graphical Modeler
2020-02-03 05:51:16 +10:00
Nyall Dawson
56e465cc8a [processing][needs-docs] Resurrect ability to convert models to scripts
Brings back QGIS 2.18's ability to directly convert a Processing model
to an equivalent Processing Python script algorithm, correctly
updated and working in the 3.x API.

Available from the model dialog, and from the right-click context
menu on an existing model.

Sponsored by Solspec
2019-02-01 17:54:28 +11:00
Juergen E. Fischer
9ad01cf9ba replace three dots with ellipsises in translation strings 2018-10-27 19:06:37 +02:00
Nyall Dawson
63fd4bab2a [processing][FEATURE] Store models inside QGIS project files
Allows processing models to be stored inside QGIS project files,
so that opening the project makes that model available.

Some models are so intrinsically linked to the logic inside
a particular project that they have no meaning (or are totally
broken) outside of that project (e.g. models which rely
on the presence of particular map layers, relations, etc)

This change allows these models to be stored inside that project,
avoid cluttering up the "global" model provider with models
which make no sense, and making it easier to distribute a single
project with these models included.

Models are stored inside projects by clicking the new "embed
in project" button in the modeler dialog toolbar. Models can be
removed from a project from the model's right click menu in the
toolbox.
2018-08-13 15:47:01 +10:00
Nyall Dawson
879622547c [processing] Fix bad layout for docks in modeler
Because there's some deep underlying issue which causes the dock
layouts to get corrupted in certain circumstances, avoid the
issue entirely by moving construction of the docks out of
the .ui file and instead do it all manually via Python code.

Fixes #16428, #19068
2018-05-31 12:45:47 +10:00
Nyall Dawson
6b2d3eea03 String fix 2018-02-22 10:04:44 +10: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
nirvn
f5702abae9 [processing] fix DlgModeler.ui layout warnings 2017-11-30 12:12:23 +07:00
Nyall Dawson
8e6d792710 Swap all QScrollAreas to QgsScrollAreas 2017-03-21 08:46:41 +10:00
Nyall Dawson
ff1bbfbdd4 [processing] Adjust margins, frame style in modeller to match main window style 2017-01-04 08:22:04 +10:00
Mathieu Pellerin
56d5a375a1 [FEATURE] Zoom in/out and fit items to view actions for the modeler (#3939) 2017-01-03 12:15:03 +07:00
nirvn
f54476cdda [FEATURE] Export processing models as PDF/SVG 2017-01-02 11:47:54 +07:00
nirvn
a6ebe830b0 [processing] upgrade modeler to make use of qgsdockwidgets 2016-11-24 11:59:19 +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
volaya
658c5842c1 [processing] fixed ui file after last commit 2015-11-09 08:45:17 +01:00
volaya
43926b55f6 [processing] added tooltip to 'export as python script' button 2015-11-09 08:43:42 +01:00
volaya
227af8ac8e [processing] brought back 'export model as python' functionality 2015-11-06 14:02:11 +01:00
Alexander Bruy
0ca7773b39 add shortcuts to some Processing actions 2014-11-17 12:30:17 +02:00
Salvatore Larosa
ac1e9cb95a [processing] set autoRaise to True for toolbutton in script and modeler dialog 2014-10-07 23:13:12 +02:00
Richard Duivenvoorde
eedab4f4ca gui tweak: adding margin around processing dialogs 2013-11-22 19:25:35 +01:00
Alexander Bruy
f890449d62 [processing] add toolbar to modeler dialog 2013-09-22 14:37:30 +03:00
Victor Olaya
9bb3d6eb6b renamed "sextante" to "processing" 2013-08-20 09:22:03 +02:00