Re: [QGIS-Developer] QgsProcessingParameterMatrix - numberRows is not respected in the UI

2019-03-05 Thread René-Luc Dhont
Hi Nyall Le 04/03/2019 à 23:53, Nyall Dawson a écrit : What about just creating an empty table with the required number of rows in QgsProcessingMatrixParameterDialog::populateTable whenever mParam has a fixed number of rows set? It will be great, I will test it. Regards, René-Luc

Re: [QGIS-Developer] QgsProcessingParameterMatrix - numberRows is not respected in the UI

2019-03-04 Thread Nyall Dawson
On Mon, 4 Mar 2019 at 21:20, René-Luc Dhont wrote: > > Hi Nyall, > > Thanks for the answer. > > To work around the issue, I have to provide a default value. > > In the case of a QgsProcessingParameterMatrix with fixed rows number has > a default value have to be provided by the definition or the c

Re: [QGIS-Developer] QgsProcessingParameterMatrix - numberRows is not respected in the UI

2019-03-04 Thread René-Luc Dhont
Hi Nyall, Thanks for the answer. To work around the issue, I have to provide a default value. In the case of a QgsProcessingParameterMatrix with fixed rows number has a default value have to be provided by the definition or the class ? René-Luc Le 02/03/2019 à 00:38, Nyall Dawson a écrit :

Re: [QGIS-Developer] QgsProcessingParameterMatrix - numberRows is not respected in the UI

2019-03-01 Thread Nyall Dawson
On Sat, 2 Mar 2019 at 00:11, René-Luc Dhont wrote: > > Hi Devs, > > I'd like to use QgsProcessingParameterMatrix with fixed rows number, > like it's defined in SAGA User defined filter algorithm. > > And like in SAGA User defined filter algorithm, the table displayed has > no rows. > > Which part

[QGIS-Developer] QgsProcessingParameterMatrix - numberRows is not respected in the UI

2019-03-01 Thread René-Luc Dhont
Hi Devs, I'd like to use QgsProcessingParameterMatrix with fixed rows number, like it's defined in SAGA User defined filter algorithm. And like in SAGA User defined filter algorithm, the table displayed has no rows. Which part of the QGIS code has to build the displayed table ? Thanks, Ren