Results 1 to 8 of 8

Thread: QWidget inside QGroupbox semi transparent [Qt 4.3.1]

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2006
    Posts
    37
    Qt products
    Qt3 Qt4
    Platforms
    Windows
    Thanks
    6

    Default Re: QWidget inside QGroupbox semi transparent [Qt 4.3.1]

    the best is to set all children of Qgroupbox Semi transparent;

    but more I search , more I understand I have to subclass all children I would like to insert into the QGroupbox

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: QWidget inside QGroupbox semi transparent [Qt 4.3.1]

    It might be easier to use QWidget::render() to get a pixmap of the item and its children and then render the result with opacity of your choice on the destination window.

  3. #3
    Join Date
    Feb 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    1

    Default Re: QWidget inside QGroupbox semi transparent [Qt 4.3.1]

    Quote Originally Posted by wysota View Post
    It might be easier to use QWidget::render() to get a pixmap of the item and its children and then render the result with opacity of your choice on the destination window.
    do you have any ideas how to do this?
    the rendering is not a problem,
    but how to render results??

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.