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

Best practice for a wizard?



  • When you do a wizard in Qt is it better to do the full wizard, with all the pages, in a single .ui file in the designer? Or is it better to create separate .ui files/classes for every page and then add them to the wizard via code?

    I know either will work, I'm just wondering which is "best practice"?


  • Lifetime Qt Champion

    @Dan203 I would say it is up to you.
    Creating separate widgets makes sence if you want to reuse them somewhere else in your app.


Log in to reply