Results 1 to 2 of 2

Thread: Top level transparency with DirectFB

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2010
    Posts
    2
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Top level transparency with DirectFB

    Hi guys,

    I'm using DirectFB 1.4.3 with QTE 4.6.2 and having issues in displaying partially transparent window. If I set the window opacity it is fine to show the whole window in some transparency. But if set the window with a background brush to mask some parts transparency, it does not work. LinuxFB works fine though so I think it might be related to the DirectFB plugin.

    I'm wondering whether someone had met same issue before, or somebody can shed some light on this. Any help is appreciated.

    Regards,
    sx

  2. #2
    Join Date
    Oct 2009
    Posts
    66
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Top level transparency with DirectFB

    This is a problem where u want a transparent area on the widget...!!!!
    try using
    Qt Code:
    1. QWidget::setMask() or
    2. setAttribute(Qt::WA_TranslucentBackground);
    To copy to clipboard, switch view to plain text mode 

    both the code works on Directfb. i used the above to achieve the top level transparency with directfb, try with this it should work

Similar Threads

  1. Configuring Qt-Embedded with directFB
    By eduluz in forum Qt for Embedded and Mobile
    Replies: 9
    Last Post: 9th February 2011, 03:42
  2. Qt with DirectFB won't display properly.
    By Francach in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 16th September 2010, 20:46
  3. qt-embedded + DirectFB
    By afybc in forum Qt Programming
    Replies: 0
    Last Post: 5th March 2010, 06:34
  4. Top Level Widget Transparency
    By dotboy in forum Qt Programming
    Replies: 9
    Last Post: 2nd July 2009, 13:11
  5. Replies: 4
    Last Post: 4th June 2007, 12:07

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.