From 7cc208011f11aca20ea16907d3fe25cc940a8beb Mon Sep 17 00:00:00 2001 From: Hefni R R A Date: Mon, 15 Sep 2025 09:27:26 +0700 Subject: [PATCH 1/2] Add docs about drag and drop layer into combobox --- docs/training_manual/processing/first_alg.rst | 6 ++++-- docs/user_manual/processing/toolbox.rst | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/training_manual/processing/first_alg.rst b/docs/training_manual/processing/first_alg.rst index 545630aa39a..9de45883bfa 100644 --- a/docs/training_manual/processing/first_alg.rst +++ b/docs/training_manual/processing/first_alg.rst @@ -46,9 +46,11 @@ All algorithms have a similar interface, which basically contains input parameters that you have to fill, and outputs that you have to select where to store. In this case, the only input we have is a vector layer with polygons. -Select the *Polygons* layer as input. The algorithm has a single output, which +Select the *Polygons* layer as input. This also can be done by dragging +and dropping the layer from the layers panel to the input box. +The algorithm has a single output, which is the centroids layer. There are two options to define where a data output is -saved: enter a filepath or save it to a temporary filename +saved: enter a filepath or save it to a temporary filename. In case you want to set a destination and not save the result in a temporary file, the format of the output is defined by the filename extension. To select diff --git a/docs/user_manual/processing/toolbox.rst b/docs/user_manual/processing/toolbox.rst index 4e10af75b8f..d1051005d1c 100644 --- a/docs/user_manual/processing/toolbox.rst +++ b/docs/user_manual/processing/toolbox.rst @@ -134,7 +134,13 @@ The parameters found in the table can be of one of the following types. :align: center Vector input widget + .. tip:: + Besides selecting from the drop-down menu or browsing sources, + you can also **drag and drop a layer from the Layers panel + directly into the combobox**. + This provides a quick and convenient alternative to selecting + the layer from the list. .. note:: By default, the layer widget shows the CRS of the layer along with its name. From cabdd62ddf0903b8f1fe09b36aef3345aa7a2d45 Mon Sep 17 00:00:00 2001 From: "Hefni R. R. A." <91196603+hefniraera@users.noreply.github.com> Date: Mon, 22 Sep 2025 19:03:49 +0700 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Harrissou Sant-anna --- docs/user_manual/processing/toolbox.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/user_manual/processing/toolbox.rst b/docs/user_manual/processing/toolbox.rst index d1051005d1c..2382dba916e 100644 --- a/docs/user_manual/processing/toolbox.rst +++ b/docs/user_manual/processing/toolbox.rst @@ -134,13 +134,12 @@ The parameters found in the table can be of one of the following types. :align: center Vector input widget - .. tip:: + + .. tip:: **Drag-and drop as convenient alternative for layer selection** Besides selecting from the drop-down menu or browsing sources, - you can also **drag and drop a layer from the Layers panel - directly into the combobox**. - This provides a quick and convenient alternative to selecting - the layer from the list. + you can also drag and drop a layer from the :guilabel:`Layers` or :guilabel:`Browser` panel, + or from the Operating System file explorer directly into the combobox. .. note:: By default, the layer widget shows the CRS of the layer along with its name.