Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. make blur widget to blur everything under it
Forum Updated to NodeBB v4.3 + New Features

make blur widget to blur everything under it

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 233 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.
  • AmrCoderA Offline
    AmrCoderA Offline
    AmrCoder
    wrote on last edited by
    #1

    Hi,
    I am trying to make a widget blur effect so it blurs everything under it on the desktop, what I tried is to make opacity 0.4 something less than 1 to show what is under it from other desktop widgets, and then try to use the QGraphicsBlurEffect and add this class to my widget using this code in my widget constructor.

    setWindowFlags(Qt::WindowTitleHint | Qt::WindowCloseButtonHint);
    QGraphicsBlurEffect *blur = new QGraphicsBlurEffect;
    blur->setBlurRadius(250);
    blur->setBlurHints(QGraphicsBlurEffect::QualityHint);
    setGraphicsEffect(blur);
    

    but the output not as I wanted, and also it seems I am not on the right direction, so any suggestion, please?

    this what it looks like

    alt text

    but what I try to just blur the text under the widget or anything on my desktop.

    Thanks.

    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