Re: [Qgis-developer] QGSrelationeditorwidget in custom form

2015-09-24 Thread Matthias Kuhn
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@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



signature.asc
Description: OpenPGP digital signature
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] QGSrelationeditorwidget in custom form

2015-09-23 Thread Luca Lanteri
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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer