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. Dynamic Widget Creation at Run time...
Qt 6.11 is out! See what's new in the release blog

Dynamic Widget Creation at Run time...

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.3k 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.
  • M Offline
    M Offline
    Mammamia
    wrote on last edited by
    #1

    Hi all... I have completed my Designer application in which i am using my own custom widgets to create GUI."My Designer App":http://qt-project.org/forums/viewthread/20225/#98240
    In my designer app i can design multipage GUI application... Final output of my designer will be an XML file which contains all the necessary details about the widgets and its properties... I knew that i can use QUiLoader class to render UI at run time if i have .ui file created by Qt Designer... But i can't use that.
    So what i m planning to do is to parse the XML file and generate an Object Pool of all the widgets & from there i can render it.... Is there any other method to render these widgets at run time..... Also is there any good way to handle all events and Connections(Signals & Slots) at run time...
    Give me suggestions for a better approach.....

    1 Reply Last reply
    0

    • Login

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