[QGIS-Developer] How can I connect to events in a QGIS main window from a Python plugin - or: How can I trigger a function once the main window has actually been displayed?
Jürgen E. Fischer
jef at norbit.de
Sat Aug 17 03:17:15 PDT 2019
Hi Sebastian,
On Sat, 17. Aug 2019 at 11:25:59 +0200, Sebastian M. Ernst wrote:
> in a QGIS Python plugin, I want to run a function (a single time) when
> the QGIS main window has actually been displayed / fully loaded.
iface has a signal initializationCompleted, that you connect in initGui.
Jürgen
--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden https://www.norbit.de
QGIS release manager (PSC) Germany IRC: jef on FreeNode
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190817/00dfc514/attachment.sig>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Pflichtangaben
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190817/00dfc514/attachment.ksh>
More information about the QGIS-Developer
mailing list