[Qgis-developer] QGSrelationeditorwidget in custom form

Matthias Kuhn matthias at opengis.ch
Wed Sep 23 23:01:32 PDT 2015


Hi Luca,

The width is not configurable with a property on the top widget. I
assume's it would be with a stylesheet (the object name of the widget is
"listViewWdg").

The subform represents another layer, so you can connect to the other
layer's signals.

Matthias

On 09/23/2015 11:29 PM, Luca Lanteri wrote:
> Hi,
>
> I'm using the QGSrelationeditorwidget in a custom form with qtcreator.
> It works very well (very powerful feature !) but I have some problem:
>
> The first is that I can't fit my subform due to the large amount of
> data present inside of it. I wondering if it were possible to set the
> width of the leftmost column (where there is the selection of the
> related record) because it is huge and it use the main part of my
> form. I try to see in the properties of the widget but unsuccessfully.
>
> The second problem is that I can't activate my custom objects into the
> subform when I switch to editing mode because I can't find the proper
> signal. Is there a signal
> for QGSrelationeditorwidget that say to me when the subform goes in
> editing mode ?
>  
> Thank in advance
> Luca
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150924/462bcbcf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150924/462bcbcf/attachment.pgp>


More information about the Qgis-developer mailing list