Results 1 to 2 of 2

Thread: Transparency with webkit and Phonon

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2008
    Posts
    5

    Default Transparency with webkit and Phonon

    Hello,

    I want use webkit in front of phonon widget with transparency.
    Anyone have ideas? With this code didnt worked.
    Qt Code:
    1. centralWidget->webView->setWindowOpacity(0.0);
    2. centralWidget->webView->setAttribute( Qt::WA_OpaquePaintEvent );
    3. centralWidget->webView->setBackgroundRole(QPalette::NoRole);
    4. centralWidget->webView->setPalette(QPalette(Qt::transparent));
    To copy to clipboard, switch view to plain text mode 
    Last edited by jpn; 4th December 2008 at 20:26. Reason: missing [code] tags

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.