Results 1 to 5 of 5

Thread: setting my widget background as desktop

  1. #1
    Join Date
    Jul 2007
    Posts
    90
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default setting my widget background as desktop

    Hi,

    How can i paint my top level widget background with desktop color.

    Any suggestion.

    Regards,
    ~Sanjay

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: setting my widget background as desktop

    what do you mean by desktop color? theme? wallpaper?

  3. #3
    Join Date
    Jul 2007
    Posts
    90
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: setting my widget background as desktop

    I mean to say platform color.

    e.g open any folder in explorer and then press Ctrl + F ( which means search in this folder ).

    It will have desktop color at the background on left side were the search options are displayed.

  4. #4
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: setting my widget background as desktop

    you mean the blue/green bars...? i think you have to use native api to get the color.

  5. #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: setting my widget background as desktop

    It will have desktop color at the background on left side were the search options are displayed.
    I guess by desktop color u mean the blue gradient which appears on the left side in windows.

    Well, its just a color, and you can create it, cant you ? If only you can get the gradient values from somewhere... or you can try a little experimenting.

Similar Threads

  1. Replies: 10
    Last Post: 10th November 2010, 03:12
  2. Widget as desktop background
    By abeinoe in forum The GraphicsView Framework
    Replies: 0
    Last Post: 30th January 2009, 07:15
  3. Graphics widget with background
    By ad5xj in forum Newbie
    Replies: 2
    Last Post: 24th August 2007, 16:29
  4. transparent background of the main widget
    By nagpalma in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2007, 17:52
  5. setting desktop background and screensaver in X11
    By nupul in forum Qt Programming
    Replies: 5
    Last Post: 2nd April 2006, 21:11

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.