Results 1 to 3 of 3

Thread: Trouble placing background images

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Paris, France
    Posts
    227
    Thanks
    3
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Trouble placing background images

    Yes, you can use a stylesheet !

    It's very elegant, and easy to use / change...

    This should be something like this :

    stack->setStyleSheet( "{background-image : url(your_image.png)}" );

    Not sure of this syntax though, but that's the idea.

    EDIT :
    You can even specify the stylesheet through Qt Designer

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

    WinchellChung (5th July 2007)

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.