Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Best practice for a wizard?
Forum Updated to NodeBB v4.3 + New Features

Best practice for a wizard?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 288 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dan203
    wrote on last edited by
    #1

    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"?

    jsulmJ 1 Reply Last reply
    0
    • D Dan203

      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"?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved