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. Qt Programmatically building up window with widgets...
Forum Updated to NodeBB v4.3 + New Features

Qt Programmatically building up window with widgets...

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 267 Views 2 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #1

    I have an application that has the Windows and Widgets defined in XML files, originally I was reading in the XML completely, then another process would create the windows and widgets. This all worked and I could visually see everything that was in the XML.

    Now, Ive been revisiting this code and changing it so that it now creates the windows and widgets as its reading the XML file. The windows are created and appear the correct size and position, however none of the widgets are appearing.

    I've stepped through using debugger and the relationships all look as they should be but I don't see the widgets. Why could this be?

    Kind Regards,
    Sy

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      and you did call show() on the parent widget ?

      1 Reply Last reply
      2
      • SPlattenS Offline
        SPlattenS Offline
        SPlatten
        wrote on last edited by
        #3

        I must have done in the first version, having just added a call to show, much better, thank you!

        Kind Regards,
        Sy

        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