Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt Installer Framework: entered/left events for dynamic pages?



  • Hi,

    I added an user defined page with
    @installer.addWizardPage(component, "NetworkPage", QInstaller.LicenseCheck);@
    and would like to be informed when this page is entered or left.

    So I tried
    @gui.pageWidgetByObjectName("DynamicNetworkPage").entered.connect(pageEnter);
    gui.pageWidgetByObjectName("DynamicNetworkPage").left.connect(pageLeave);@

    but this doesn't work:
    @TypeError: Result of expression 'gui.pageWidgetByObjectName("DynamicNetworkPage").entered' [undefined] is not an object. @

    Is this not implemeted for dynamic pages or is there another function to use?

    Thanks,
    Thomas


Log in to reply