Qt Forum

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

    Unsolved How to remove transparent background for a child Widget ?

    Mobile and Embedded
    1
    1
    619
    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.
    • Kart
      Kart last edited by

      I am working in Qt5.9.1 with with linuxfb platform. I have a widget with multiple UI files. The first widget screen will be a basic home screen with some buttons. Each button click will open a new child widget screen.
      But the newly opened widget has a transparent background. I tried removing this by

      Obj->setAutoFillBackground(true);
      

      This is not making any difference.
      The windowOpacity parameter in Qt Designer is 1.000000.
      stylesheet has been set to background-color: rgb(0, 0, 0);

      What do i set the background TRUE ?

      Thank you for your time.

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