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. Create Transparent Widget
Qt 6.11 is out! See what's new in the release blog

Create Transparent Widget

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 9.2k 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
    MamdouhAlShamy
    wrote on last edited by
    #1

    how to make widget transparent and only its elements appears

    like
    "this":http://img510.imageshack.us/img510/1327/targett.png":http://img510.imageshack.us/img510/1327/targett.png

    in regular it looks like
    "that":http://img828.imageshack.us/img828/1412/bubbleduty.png

    thanks in advance

    1 Reply Last reply
    0
    • M Offline
      M Offline
      milot.shala
      wrote on last edited by
      #2

      Hi there,

      Maybe this can help: "http://phalanx.spartansoft.org/2009/09/28/creating-a-translucent-qwidget/":http://phalanx.spartansoft.org/2009/09/28/creating-a-translucent-qwidget/

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MamdouhAlShamy
        wrote on last edited by
        #3

        hi,
        it doesnt work for me ,
        im working on Windows7 with Qt 4.7 on QWidget with parent Widget

        when i use this code ,i get black background for the desired widget

        reagards

        1 Reply Last reply
        0
        • L Offline
          L Offline
          leon.anavi
          wrote on last edited by
          #4

          I know it is an old thread but anyway if you still have this problem you can check the following article at wiki: "QWidget Semi-transparent Background Color":http://developer.qt.nokia.com/wiki/QWidget_Semi-transparent_Background_Color

          I have tested it myself on Symbian^3.

          Cheers,
          Leon

          http://anavi.org/

          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