Results 1 to 4 of 4

Thread: Qt3 : How to set the background??

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2011
    Location
    China
    Posts
    8
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    1

    Question Qt3 : How to set the background??

    there are much fewer functions be used to set background than qt4 .

    Qt Code:
    1. playWidget->setPaletteBackgroundPixmap(QPixmap(":/images/background.png"));
    2. playWidget->show();
    To copy to clipboard, switch view to plain text mode 

    these codes were lost on the widget!

    nobody? i just want to paint a picture on a widget named by playWidget under the environment of qt3!
    Last edited by wysota; 8th April 2011 at 11:30.

Similar Threads

  1. Replies: 0
    Last Post: 5th April 2011, 14:36
  2. Replies: 1
    Last Post: 25th June 2010, 19:31
  3. How to set background
    By zbliujia in forum Qt Programming
    Replies: 1
    Last Post: 22nd July 2009, 06:18
  4. Running my app in the background
    By srohit24 in forum Qt Programming
    Replies: 2
    Last Post: 23rd May 2009, 00:15
  5. How to get background pixmap?
    By philipp1 in forum Qt Programming
    Replies: 2
    Last Post: 4th November 2006, 09: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.