Results 1 to 3 of 3

Thread: Desktop application shadow?

  1. #1
    Join Date
    Apr 2006
    Location
    San Francisco, CA
    Posts
    186
    Thanks
    55
    Thanked 12 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Desktop application shadow?

    Just curious if anyone's been able to do this - basically place a shadow around their application window on the right and bottom edges, with semi-transparency over the desktop background/apps underneath. Is there an example lurking somewhere?

    Or is this is something the OS GUI should be handling? I know windoze supports menu shadows, but that's not quite what I'm looking for...
    Software Engineer



  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Desktop application shadow?

    Basically, if you want to retain the window decorations, you have to do that through your operating system/window manager. Of course you can do hacks such as creating floating widgets with masks and opacities and moving them along your window all the time, but I doubt it is exactly what you want

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

    gfunk (17th November 2006)

  4. #3
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Desktop application shadow?

    Yes, this is something the Windowing system is responsible for. If the system supports it (Mac, Vista, etc), then you get it automatically. X.org has an option for it, but it tends to be a performance pig, so it's usually not configured on.

Similar Threads

  1. Draging a non-existing file to the Windows Desktop
    By klaus1111 in forum Qt Programming
    Replies: 13
    Last Post: 20th September 2007, 11:47
  2. Replies: 3
    Last Post: 8th December 2006, 18:51
  3. Application default font
    By larry104 in forum Qt Programming
    Replies: 2
    Last Post: 16th September 2006, 01:24
  4. Gnome makes application crash
    By regix in forum Qt Programming
    Replies: 35
    Last Post: 18th August 2006, 19:44
  5. Replies: 3
    Last Post: 31st March 2006, 18:38

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.