<div dir="ltr"><div><div><div><div><div><div>Hi,<br></div>I'm working on a Python plugin for QGIS and need your help to do something. I'm a beginner in Python and C++ and just used plugin-builder for the architecture.<br></div><br>My main dialog is a non modal one and does list print composers in the project. It means that while it's opened, user can delete or create composer. What I'd like is, when user calls back the dialog to foreground, it automatically updates the list of composers. I already have the function to update but don't find which signal to use. I can add a button to do this but better if it can be done transparently...<br><br></div>I've read about defining a custom showEvent function but can't understand where to put it and what inside.<br></div>If somebody can give some tips...<br><br></div>Thanks in advance,<br><br></div>DelazJ<br><div><div><div><div><br></div></div></div></div></div>