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. Self Populating/Dynamic GUI

Self Populating/Dynamic GUI

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 498 Views
  • 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.
  • A Offline
    A Offline
    Angus
    wrote on last edited by
    #1

    I am planning/designing and app that will require a dynamic GUI. Over time, I may need to change the content of combo boxes, add/remove buttons, add/remove tab widgets, etc. I thought perhaps I could have an xml file that specifies all the gui information and then load it and create the gui at run time, but that seems like it would be difficult/tedious to do and possibly error prone, Any suggestions on how to approach this? Does Qt have any exisiting functionality for doing this? Thanks
    Angus

    mrjjM 1 Reply Last reply
    0
    • A Angus

      I am planning/designing and app that will require a dynamic GUI. Over time, I may need to change the content of combo boxes, add/remove buttons, add/remove tab widgets, etc. I thought perhaps I could have an xml file that specifies all the gui information and then load it and create the gui at run time, but that seems like it would be difficult/tedious to do and possibly error prone, Any suggestions on how to approach this? Does Qt have any exisiting functionality for doing this? Thanks
      Angus

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      @Angus
      Hi
      Qt can already do that.
      http://doc.qt.io/qt-5/quiloader.html
      So you could generate UI files and load.

      However, depending on the extend of the dynamic aspect, doing it run time might
      be easier.

      If its sort of a mini designer for end users, the uiloader will best best.

      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