You Are Here:

Community: Wiki

 

Talk:Load, Resize image and set background image in Qt for Symbian application/widget

From Forum Nokia Wiki

This article is well explained in overview.Author used QPalette class for set background If you want to know more about This class then you can visit

http://doc.trolltech.com/3.3/qpalette.html

Another class is QDesktopWidget class which provide information about screen.If you want to know more about this class then you can go on

http://doc.trolltech.com/4.5/qdesktopwidget.html

code snippet and screen shot tell all things about this article.This article useful for intermediate.

--nayan trivedi 05:39, 20 September 2009 (UTC)


Level: Basic

This article demonstrates how you can set background to your application display. For accomplishing this task, QWidget, QPalette, QPixmap APIs are used. This demonstrates a simple code snippet. In the code snippet, every parts are explained with comments that’s the good habit for becoming a professional developer. For example

//Using QPalette you can set background image as follows. QPalette p = palette();

So above comment easily understand that this creates an instance of QPalette that is used for setting background.

--Vkmunjpara 17:58, 30 September 2009 (UTC)



 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fwikiE2eforumE2enokiaE2ecomE2findeE78E2ephpE2fJavaE5fVerifiedE5fE28PortuguE25C3E25AAsE29X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqfntypeZWikiContentQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZtypeQUqfntypeZWikiContentQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqfntypeZWikiContentQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ