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
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    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 10:30.

Similar Threads

  1. Replies: 0
    Last Post: 5th April 2011, 13:36
  2. Replies: 1
    Last Post: 25th June 2010, 18:31
  3. How to set background
    By zbliujia in forum Qt Programming
    Replies: 1
    Last Post: 22nd July 2009, 05:18
  4. Running my app in the background
    By srohit24 in forum Qt Programming
    Replies: 2
    Last Post: 22nd May 2009, 23:15
  5. How to get background pixmap?
    By philipp1 in forum Qt Programming
    Replies: 2
    Last Post: 4th November 2006, 08: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.