Results 1 to 2 of 2

Thread: the question about setting the background picture of window?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2007
    Posts
    1

    Default the question about setting the background picture of window?

    QPalette pal;
    pal.setBrush(QPalette::Window,QBrush(QPixmap(":/button/Resources/1.bmp")));
    this->setPalette(pal);

    a question about the background picture of window ,how to set the picture extending or mediacy.
    please give a example ,thank you
    Last edited by wmhnq; 18th August 2007 at 15:35.

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.