[Qgis-user] Customised attributes form

emmexx emmexx at tiscalinet.it
Fri Mar 13 02:39:44 PDT 2015


Il 03/12/2015 11:32 AM, Matthias Kuhn scrisse:
> This tree widget can then be positioned with the d'n'd designer (or a
> QtDesigner form if you like) together with other attributes this layer has.

After one day of trial and error I surrender.
My knowledge of qgis, qt and pyqgis is too poor to go on without any tip 
from some expert developer.

I would like to use the interface I created using Qt interface.
I understand that I should let qt interface and qgis share some info 
about my custom widget but it is not as simple as suggested in the 
article you posted.

I suppose I should use the Promoted feature of qt interface but I'm not 
sure about what should be the content of the header file.
There are various articles about adding a custom widget in qt but 
there's no "2 lines of code" recipe. It's not a problem to code, I just 
don't want to lose another day to accomplish nothing.

Is there a more detailed tutorial about this argument?
Or can somebody write 2 lines with some directions so I can continue on 
my own?

Thank you
    maxx



More information about the Qgis-user mailing list