[Qgis-developer] Re : [Qgis-user] Pyqt4 : which signal is sent when dialog comes to foreground?

Junior delazj at gmail.com
Tue Mar 31 00:34:41 PDT 2015


Hi all, Luca
Thanks for answering. But i already have an update function that I linked to an update list button. I even linked it to the icon on the toolbar so that when user calls foreground the dialog it's already updated.
The case I'd like to manage: user can open plugin dialog and composer manager. The two dialogs are visible (to the eyes) even though composer manager is the one at foreground. He makes changes and directly clicked on the plugin dialog. He should update list but if he forgets and executes, this may lead to bug I don't want to / can't yet manage.
Reason why I want to ensure that list is always up to date when he interacts with the dialog

Envoyé depuis mon HTC

----- Reply message -----
De : "Luca Manganelli" <luca76 at gmail.com>
Pour :
Cc : "qgis-user at lists.osgeo.org" <qgis-user at lists.osgeo.org>, "qgis-developer" <qgis-developer at lists.osgeo.org>
Objet : [Qgis-developer] [Qgis-user] Pyqt4 : which signal is sent when dialog comes to foreground?
Date : mar., mars 31, 2015 07:56

On Mon, Mar 30, 2015 at 6:12 PM, Junior Delaz <delazj at gmail.com> wrote:
> I've read about defining a custom showEvent function but can't understand
> where to put it and what inside.
> If somebody can give some tips...

You could add a "Update list" button
_______________________________________________
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/20150331/3e83207d/attachment.html>


More information about the Qgis-developer mailing list