Results 1 to 4 of 4

Thread: How to set background image with no-repeat (without using CSS)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2006
    Posts
    83
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to set background image with no-repeat (without using CSS)

    Although a weak solution, this is what got the job done:

    Through Designer:
    I simply created a QLabel and set the Pixmap of the label to be my background image. I then made sure that this new label was moved to the back, so that it was behind all other form items.

  2. #2

    Default Re: How to set background image with no-repeat (without using CSS)

    QT cannot do too much.
    Cannot move icon/background image/border image to a fixed position.
    And now, it stop you do it outside a customer widget.
    So the only way is to paint by yourself, perfect.

Similar Threads

  1. Background image on popup menu item
    By MarkoSan in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 27th June 2006, 05:55
  2. problem with the back ground image
    By Seema Rao in forum Qt Programming
    Replies: 1
    Last Post: 17th April 2006, 21:34
  3. How and when to repaint a widget ?
    By yellowmat in forum Newbie
    Replies: 7
    Last Post: 3rd April 2006, 16:36
  4. How to implement a ListBox with background image
    By andyyeh75 in forum Qt Programming
    Replies: 3
    Last Post: 8th March 2006, 08:55
  5. [QT4.1.1 XP] background image
    By incapacitant in forum Newbie
    Replies: 3
    Last Post: 1st March 2006, 13:02

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.