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. PySide2 - Blur QStackWidget background without blurring widgets in it.
Qt 6.11 is out! See what's new in the release blog

PySide2 - Blur QStackWidget background without blurring widgets in it.

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 608 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.
  • T Offline
    T Offline
    tIk90wT
    wrote on last edited by tIk90wT
    #1

    I was trying to blur a QStackWidget without blurring widgets in it with QGraphicsBlurEffect but it blurs everything in it. Is it possible to blur only the background of stackwidget/widget or is it not possible in pyside2/pyqt5?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi
      Its not possible for c++ or any binding
      Those effects include the children also.
      You might be to able add a QWidget behind the children and adjust its z order so its over the stacked but under
      its children and then blurr that to get the illusion of blurr behind the children.

      1 Reply Last reply
      1
      • T Offline
        T Offline
        tIk90wT
        wrote on last edited by
        #3
        This post is deleted!
        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