Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    QX11EmbedContainer not painting properly

    General and Desktop
    1
    1
    288
    Loading More Posts
    • 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.
    • N
      nezza last edited by

      I have created a class based on QX11EmbedContainer (Qt4). When I create and show this as part of the startup process, the container client area is beige and when I embed another window it displays correctly. However, if I create it later within the same class, in response to a signal, its client area is black and the embedded window is not displayed. I have tried setting the background to red using setPalette, and in that case I can see a thin band of red on 2 sides of the black area.
      Can anyone please give a me any pointers as to what the problem might be?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post