[QGIS-Developer] Docs/Instructions for Filter/Query Builder

Richard Duivenvoorde rdmailings at duif.net
Sun Oct 24 23:31:59 PDT 2021


On 10/25/21 2:09 AM, Nyall Dawson wrote:
> On Sun, 24 Oct 2021 at 19:56, Richard Duivenvoorde <rdmailings at duif.net> wrote:
>>
>> Hi Harrissou,
>>
>> Indeed this is the dialog that you got when you had a WFS layer in earlier versions like 3.16:
>> https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/vector_properties.html#id14
>>
>> But now you get the SQL Query Composer (see screenshot)
> 
> Hmm, aside from your UX concerns that dialog needs a cleanup in
> general. The alignment is all off and it uses that weird Qt toolbox
> widget which we don't use elsewhere (for good reasons... it's ugly and
> non-standard :P ). There's also a bunch of HIG capitalization issues
> (combo box values should be title case ("Spatial predicates"->"Spatial
> Predicates",) labels should be sentence case ("SQL Statement" -> "SQL
> statement")). And the SQL statement widget should be using the
> QgsCodeEditorSQL widget to get proper formatting of the expression.
> 
> But in regards to the UX issue... maybe what we need is some
> toggle/tabbed control between "simple" and "SQL builder" or the
> like...

Yes, that would be a good solution! WOuld it be possible to still get back the old one?
OR do people think we can get the SQL QUery Builder that much more intuitive that it would work for non SQL writers?

Regards,

Richard Duivenvoorde


More information about the QGIS-Developer mailing list