142 Commits

Author SHA1 Message Date
Nyall Dawson
8e88d4842b Use QgsCodeEditorWidget in processing script editor
And remove custom search/replace functionality, it's now replaced
by the standard QgsCodeEditorWidget implementation
2024-05-16 08:44:14 +10:00
Nyall Dawson
a4d6fd3ed5 Use QgsProcessingHistoryDialog for Processing history dialog
And remove old class
2023-04-24 13:09:46 +10:00
Nyall Dawson
8a3ab39bd3 Fix invalid base class used in processing ui file 2023-03-20 16:06:24 +10:00
Yoann Quenach de Quivillic
1c79b4927d
[feature][console] Add toggle comment action in the python console (#50341)
Adds a toggle comment action in the Python Console and script editors
2023-01-07 09:27:08 +10:00
Nyall Dawson
d62d0b82e3 Port model help editor dialog to c++ 2022-02-28 17:33:49 +10:00
nirvn
fb2240ecac [processing] Properly style the history dialog's python command string 2021-03-29 14:03:29 +07:00
Denis Rouzaud
eddf6feb45 modernize CMakeLists.txt files 2020-11-12 07:14:46 +10:00
Juergen E. Fischer
b1edb5e70c test_defwindowtitle.sh: also check Dialog 2020-05-16 20:55:59 +02:00
Germán Carrillo
a6db48151b Missing dockwidget object name (useful for addTabifiedDockWidget) 2020-05-03 15:34:46 +10:00
Juergen E. Fischer
2e7bebcf20 add code_layout test to verify that UIs either have a non-default window title or are not marked for translation 2020-04-24 16:30:45 +02:00
Alexander Bruy
72404a9038 [processing] use native matrix parameter definition widget 2020-03-27 07:08:42 +10:00
Alexander Bruy
87eefa325e [processing] use native enum parameter definition widget 2020-03-27 07:08:42 +10:00
Nyall Dawson
945eb460fe Allow dragging and dropping project layers to QgsExtentWidget to copy extent from layer 2020-03-25 19:25:40 +10:00
Nyall Dawson
2ce58cdb9d Remove some unused ui files 2020-03-25 09:42:17 +10:00
Nyall Dawson
eefd04cbc1 Start creation of a c++ base class for modeler dialog 2020-03-06 18:22:49 +10:00
Nyall Dawson
93355082a2 Add a menu bar to model designer 2020-03-06 18:22:49 +10:00
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
c12fd877ed [processing] Remove selected rows from batch table, not always last row 2019-04-30 14:43:58 +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
aa55de8ef4 Fix advanced parameter panel incorrect margins in processing algorithm dialog 2018-09-26 04:26:27 +10:00
Nyall Dawson
c2dab4ff18 [processing] Use standard dock margins for results dock 2018-09-25 10:31:15 +10: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
101c98fd17 Move toolbox tree view to c++ class 2018-07-16 11:38:13 +10:00
Nyall Dawson
810cb9c0f7 Start replacing python model 2018-07-16 11:38:13 +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
28b23d0b24 [processing] Fix script editor dialog title 2018-05-21 14:28:37 +10: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
Alexander Bruy
18f3151808 [processing] couple of fixes for matrix parameter 2018-05-11 15:49:06 +10:00
Alexander Bruy
038da1131d [processing] modeler GUI for matrix parameter 2018-05-11 15:49:06 +10:00
Alexander Bruy
ffa4b04e29 [processing] add modeler GUI for enum parameter 2018-05-11 15:49:06 +10:00
Matthias Kuhn
55a256f9f2
Merge pull request #5065 from DelazJ/typos
Fix some wording and spelling
2018-05-07 09:23:30 +02:00
Nyall Dawson
a82bffcc72 String capitalization 2018-04-02 17:57:03 +10:00
matteo
61c3b485ef remove load template button action and fix double separator 2018-03-31 18:30:40 +11:00
matteo
ca210dcad7 removed useless dots in UI 2018-03-31 18:30:40 +11:00
matteo
cdac11f132 Typo and remove shortcut 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
Nyall Dawson
5f66494446 [needs-docs] Remove " Panel" suffixes from panel titles
This extra text adds a lot of visual clutter to the interface,
and makes tabbed dock's tab bars take up a lot of room.

Instead only show the "panel" suffix in the menus.
2018-02-23 12:03:28 +11:00
Nyall Dawson
6b2d3eea03 String fix 2018-02-22 10:04:44 +10:00
nirvn
8697c79993 [needs-docs][ui] harmonize title of panels 2018-02-15 11:43:19 +07:00
nirvn
207a94738d [processing] offer hyperlink to file path in the results viewer
because users don't always get that there is a dbl-click action
against the tree view items.
2018-02-12 18:09:38 +07: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
f5f0399171 [processing] use custom editor class, as QgsCodeEditor is not available
on some platforms
2018-02-05 08:50:37 +02:00
Alexander Bruy
e1a64f6a8f [processing] remove unused files 2018-02-05 08:50:37 +02:00
Alexander Bruy
862b1139fa [processing] move script provider stuff into provider directory 2018-02-05 08:49:29 +02:00
Alexander Bruy
87e55ba3c7 [processing] remove Get scripts and models functionality
Users should use Resource Sharing plugin instead
2018-02-04 11:11:47 +02:00
Salvatore Larosa
9c400324e2 [processing] add toolbar to toolbox 2018-01-23 22:30:29 +01:00
Harrissou Sant-anna
ac88f2afe9 Fix some wording and spelling 2018-01-21 12:38:31 +01:00
Mathieu Pellerin
3b8905209e
[processing] harmonize and improve UI spacing 2017-12-27 10:50:52 +07:00
Alexander Bruy
5016c21ed3 [FEATURE][processing][needs-docs] add find and replace functionality to
Processing script editor (forward-port from 2.18 branch)
2017-12-15 11:07:15 +02:00