<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 28 mai 2020 à 11:50, Raymond Nijssen <<a href="mailto:r.nijssen@terglobo.nl">r.nijssen@terglobo.nl</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ah, I found it! (With a little help from Richard..)<br>
<br>
There is a widget type "Hidden" that prevents showing up on the form.<br>
<br>
Still, if anyone knows of a way that also not needs to close the form <br>
with an OK, could save me 17k extra mouse clicks. Using actions maybe?<br></blockquote><div><br></div><div>Hi, I would try to add a python behavior to the form that will trigger the OK button just for you when you change the value of your edit widget. I think this works. <br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks,<br>
Raymond<br>
<br>
<br>
On 28-05-2020 10:31, Raymond Nijssen wrote:<br>
> Hi Alex,<br>
> <br>
> Thanks, that is pretty close to what I'm looking for! I didn't manage to <br>
> only show the widget for the field I want to edit though, so I'm seeing <br>
> the entire form. I tried to find it in the Form and Fields properties <br>
> and I tried to use hidden fields.<br>
> <br>
> Ray<br>
> <br>
> On 28-05-2020 09:24, Alexandre Neto wrote:<br>
>> Hi Raymond,<br>
>><br>
>> Wouldn't the identify tool with auto open form with only the class <br>
>> field widget available do that? Also, select tool with multi edit form <br>
>> to classify several buildings in one go would save lots of clicks.<br>
>><br>
>> Alex<br>
>><br>
>> A quinta, 28/05/2020, 07:38, Raymond Nijssen <<a href="mailto:r.nijssen@terglobo.nl" target="_blank">r.nijssen@terglobo.nl</a> <br>
>> <mailto:<a href="mailto:r.nijssen@terglobo.nl" target="_blank">r.nijssen@terglobo.nl</a>>> escreveu:<br>
>><br>
>>     Does anyone know if there is a tool in QGIS to quickly classify<br>
>>     features<br>
>>     manually?<br>
>><br>
>>     I have a layer with 17,000 buildings, all need to be set to 1 of 5<br>
>>     values. I'm thinking about making a (quick and dirty) plugin that:<br>
>><br>
>>     - On clicking the building shows a popup menu with the 5 choices<br>
>>     - Clicking the choice would update the value and change the color<br>
>>     (redraw)<br>
>><br>
>>     Every click less really counts here. I already set up a form <br>
>> widget but<br>
>>     also having the location of the menu near the building polygon is way<br>
>>     more efficient. (I mean, no need to cross the screen with your mouse<br>
>>     cursor.)<br>
>><br>
>>     Thanks!<br>
>><br>
>>     Raymond<br>
>>     _______________________________________________<br>
>>     Qgis-user mailing list<br>
>>     <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a> <mailto:<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a>><br>
>>     List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
>>     Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
>><br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div></div>