Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to remove transparent background for a child Widget ?
Forum Updated to NodeBB v4.3 + New Features

How to remove transparent background for a child Widget ?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 885 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.
  • KartK Offline
    KartK Offline
    Kart
    wrote on last edited by
    #1

    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
    0

    • Login

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