Results 1 to 11 of 11

Thread: setting a window background...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2006
    Posts
    172
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    30
    Thanked 2 Times in 2 Posts

    Exclamation setting a window background...

    How can you set the widow background of the app window to any image format supported by Qt.

    Eg...say I am using a List View...and wish that the contents are displayed in the window with the background set to say "ship.jpg" rather than the usual white space?

    Similarly is it also possible to tile a "background image" horizontally along the length of a toolbar or a popup menu?

    Also I have seen in windows explorer (Xp Pro) that there is a water mark present at the bottom right of the window....can i achieve the same with Qt?

    I'd appreciate a sample code if possible...

    Thanks

    Nupul
    Last edited by nupul; 10th April 2006 at 05:33. Reason: missed out few things... ;)

Similar Threads

  1. How to set Qt window transparent?
    By montylee in forum Qt Programming
    Replies: 17
    Last Post: 24th December 2013, 20:11
  2. Window Background
    By QbelcorT in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 23rd September 2008, 06:03
  3. Background image for main window widget using css.
    By Enygma in forum Qt Programming
    Replies: 8
    Last Post: 23rd August 2007, 15:40
  4. Replies: 15
    Last Post: 23rd March 2007, 16:16
  5. Replies: 4
    Last Post: 29th March 2006, 23:44

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.