Results 1 to 3 of 3

Thread: How to set a graphics effect to a tree widget and its contents

  1. #1
    Join Date
    Feb 2010
    Location
    Hyderabad, India
    Posts
    15
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Question How to set a graphics effect to a tree widget and its contents

    I would like to blur my mainwindow whenever a model dialog is shown on top of that. Using QGraphicsBlurEffect, I am able to set the background (mainwindow) to the desired effect. But if there is a tree widget in the main window, then the tree widget contents are not getting blurred.
    How can I achieve that ?

    Thanks for any help

  2. The following user says thank you to mrvk for this useful post:

    mkkguru (10th February 2010)

  3. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: How to set a graphics effect to a tree widget and its contents

    How do you set a blur-effect on the background of your MainWindow?
    It's nice to be important but it's more important to be nice.

  4. #3
    Join Date
    Feb 2010
    Location
    Hyderabad, India
    Posts
    15
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to set a graphics effect to a tree widget and its contents

    I have created an object of QGraphicsBlurEffect and used it with 'setGraphicsEffect' method of QWidget. The main window has a dock widget and the dock widget has a tree widget with a few tree widget items. And the problem is that the tree widget items are not getting blurred.

Similar Threads

  1. youtube fullscreen effect for a widget
    By cyrfer in forum Qt Programming
    Replies: 2
    Last Post: 5th January 2010, 12:57
  2. Replies: 2
    Last Post: 11th November 2009, 08:03
  3. Tree Widget
    By bismitapadhy in forum Qt Programming
    Replies: 1
    Last Post: 9th June 2009, 07:31
  4. Drag from tree widget
    By EricF in forum Qt Programming
    Replies: 9
    Last Post: 17th December 2007, 23:09
  5. Draw contents of widget in another widget
    By gustavosbarreto in forum Qt Programming
    Replies: 1
    Last Post: 6th August 2007, 14:43

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.