Results 1 to 5 of 5

Thread: How to blur parent dialog when child dialog is displayed

  1. #1
    Join Date
    Jun 2009
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How to blur parent dialog when child dialog is displayed

    Hello,

    Please let me know the steps to blur the parent dialog of the application when child dialog gets highlighted.

    Regards,
    Abhilasha Jha

  2. #2
    Join Date
    Apr 2008
    Location
    Russia, Moscow
    Posts
    86
    Thanks
    2
    Thanked 7 Times in 7 Posts
    Qt products
    Qt4

    Default Re: How to blur parent dialog when child dialog is displayed


  3. The following user says thank you to SABROG for this useful post:

    fnmblot (9th June 2009)

  4. #3
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to blur parent dialog when child dialog is displayed

    Another way would be to render the main window on the overlay and apply some image filters on the overlay image.. Filters can be searched in Qt Labs if i remember right

  5. #4
    Join Date
    Apr 2008
    Location
    Russia, Moscow
    Posts
    86
    Thanks
    2
    Thanked 7 Times in 7 Posts
    Qt products
    Qt4

    Default Re: How to blur parent dialog when child dialog is displayed

    Do you mean this?

    You can paint picture, but you can't hide controls, so you need create toplevel qwidget (layer) what hide other widgets. But i think you don't need image filter for this simple job, just use transparent.

  6. #5
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to blur parent dialog when child dialog is displayed

    Do you mean this?
    Sort of... What I meant was, if you apply effects/filters to the overlay layer, you can get some fancy output...u can appply effects like blur, ripple, swirl etc...

Similar Threads

  1. How to dim / blur the background dialog?
    By german@it-missions.com in forum Qt Programming
    Replies: 2
    Last Post: 18th February 2009, 07:40
  2. connecting child to parent window...
    By sumit in forum Qt Programming
    Replies: 1
    Last Post: 19th October 2008, 21:28
  3. How to close parent window from child window?
    By montylee in forum Qt Programming
    Replies: 5
    Last Post: 14th October 2008, 11:40
  4. Move child widget along with the parent widget
    By sreedhar in forum Qt Programming
    Replies: 2
    Last Post: 15th May 2006, 12:00
  5. Referencing Parent Widget from Child
    By taylor34 in forum Qt Programming
    Replies: 8
    Last Post: 11th April 2006, 15:13

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.