Results 1 to 2 of 2

Thread: Prevent use of GUI Desktop Effects

  1. #1
    Join Date
    Feb 2008
    Posts
    153
    Thanks
    40
    Thanked 8 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Prevent use of GUI Desktop Effects

    Hi, I'm making an application, and I don't want the different effects of the Window Manager (such as compiz on Ubuntu) to work for a certain widget.

    I have tried:
    Qt Code:
    1. setAttribute(Qt::WA_PaintOnScreen, true);
    To copy to clipboard, switch view to plain text mode 
    But no luck. Anyone have any idea on how to somehow set a Widget Window Hint to prevent desktop effects?

    Thanks in advance,
    ~codeslicer

  2. #2
    Join Date
    Jan 2006
    Posts
    15
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Prevent use of GUI Desktop Effects

    There is not much communication going on between your window manager and Qt so direct control is not really possible. However you can try experimenting with the different window flags. To remove the shadow, you can try to set a mask on the window.

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.