You Are Here:

Qt for S60: QStackedWidget Example

Register Today

Register with Forum Nokia now and you'll enjoy the full benefits of the Forum Nokia membership.

Register Login
Community Highlights

Wiki article of the week

Zoom and Rotate Gestures in FlashLite for touch-enabled devices

Champion of the month

Jackson Feijó Jackson Feijó
Read more about Jackson on the Champions website.


Forum Nokia Events

Nokia Developer Days in South Africa
December 01, 2009
Johannesburg, South Africa

Forum Nokia Developer Conference ’09, India
December 07, 2009
Bangalore, India

LeWeb
December 09, 2009
Paris

Web Runtime Coding With Aptana WRT Plug-in
December 09, 2009
9am New York | 2pm London | 4pm Helsinki

Web Runtime Coding With Aptana WRT Plug-in
December 09, 2009
9:30am New Delhi, noon Beijing


View all
file name: Qt_for_S60_QStackedWidget_Example_v1_0_en.zip
description: This Qt C++ application provides a method to implement multiple views in Qt for S60 applications (an alternative to using tabs). Views (QWidgets) are stored in a stack (QStackedWidget). On application startup, only the default view is created in the stack. To optimise memory consumption, the other views are not created until they are needed. Every view has its own Options menu and CBA buttons with view-specific commands. The example has been tested to work on S60 3rd Edition and 5th Edition devices with Qt for S60 4.5.2 Tower release. Important classes: QWidget, QStackedWidget, QMainWindow.
type: Example
topics: Base/System
Qt
Qt for S60
S60
     S60 3rd Edition
     S60 5th Edition
UI
language: English (en)
encoding: Zip Archive (.zip)
intended audience: Intermediate
compatibility: S60 5th Edition, S60 3rd Edition FP2, S60 3rd Edition FP1, Qt for S60 4.5.2 Tower. Tested on: Nokia 5800 XpressMusic, Nokia 6220 Classic, Nokia N96. Developed with: S60 5th Edition SDK for Symbian OS and Qt 4.5.2 Tower, S60 3rd FP1 Edition SDK for Symbian OS and Qt 4.5.2 Tower.
see also: Qt for S60: QTabs Example
Download AllVersions


Additional information

distribution: Forum Nokia Global Web Site
edition: 1
editorial revision: 0
publication rights: Copyright © 2009 Nokia Corporation.
size: 39 KB

<< Back to Previous Page

 

Rate This:

Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
RDF Facets: qdcZdescriptionQSxThisE20E51tE20CE2bE2bE20applicationE20providesE20aE20methodE20toE20implementE20multipleE20viewsE20inE20E51tE20forE20S60E20applicationsE20E28anE20alternativeE20toE20usingE20tabsE29E2eE20ViewsE20E28E51WidgetsE29E20areE20storedE20inE20aE20stackE20E28E51StackedWidgetE29E2eE20OnE20applicationE20startupE2cE20onlyE20theE20defaultE20viewE20isE20createdE20inE20theE20stackE2eE20ToE20optimiseE20memoryE20consumptionE2cE20theE20otherE20viewsE20areE20notE20createdE20untilE20theyE20areE20neededE2eE20E45veryE20viewE20hasE20itsE20ownE20OptionsE20menuE20andE20CBAE20buttonsE20withE20viewE2dspecificE20commandsE2eE20TheE20eE78ampleE20hasE20beenE20testedE20toE20workE20onE20S60E203rdE20E45ditionE20andE205thE20E45ditionE20devicesE20withE20E51tE20forE20S60E204E2e5E2e2E20TowerE20releaseE2eE20ImportantE20classesE3aE20E51WidgetE2cE20E51StackedWidgetE2cE20E51MainWindowE2eX qdcZformatQNx39849X qdcZidentifierQSxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fa871842cE2db1c3E2d4aa2E2d9e1aE2d18336ac0e98cE2fE51tE5fforE5fS60E5fE51StackedWidgetE5fE45E78ampleE5fv1E5f0E5fenE2ezipX qdcZrelationQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fb8dc2924E2dc71fE2d487cE2db0b3E2db9ada97efaecE2fE51tE5fforE5fS60E5fE51TabsE5fE45E78ampleX qdcZtitleQSxE51tE20forE20S60E3aE20E51StackedWidgetE20E45E78ampleX qdcZtypeQUqfnZPrimaryE52esourceQ qdcZtypeQUqfntypeZApplicationQ qdcZtypeQUqfntypeZE45E78ampleQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqmarsZMediaInstanceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qdctermsZeE78tentQNx39849X qrssZdescriptionQSxThisE20E51tE20CE2bE2bE20applicationE20providesE20aE20methodE20toE20implementE20multipleE20viewsE20inE20E51tE20forE20S60E20applicationsE20E28anE20alternativeE20toE20usingE20tabsE29E2eE20ViewsE20E28E51WidgetsE29E20areE20storedE20inE20aE20stackE20E28E51StackedWidgetE29E2eE20OnE20applicationE20startupE2cE20onlyE20theE20defaultE20viewE20isE20createdE20inE20theE20stackE2eE20ToE20optimiseE20memoryE20consumptionE2cE20theE20otherE20viewsE20areE20notE20createdE20untilE20theyE20areE20neededE2eE20E45veryE20viewE20hasE20itsE20ownE20OptionsE20menuE20andE20CBAE20buttonsE20withE20viewE2dspecificE20commandsE2eE20TheE20eE78ampleE20hasE20beenE20testedE20toE20workE20onE20S60E203rdE20E45ditionE20andE205thE20E45ditionE20devicesE20withE20E51tE20forE20S60E204E2e5E2e2E20TowerE20releaseE2eE20ImportantE20classesE3aE20E51WidgetE2cE20E51StackedWidgetE2cE20E51MainWindowE2eX qrssZtitleQSxE51tE20forE20S60E3aE20E51StackedWidgetE20E45E78ampleX qeditorZdescriptionE5fcreatedQDx2009E2d06E2d29T07E3a56E3a33E5aX qeditorZdescriptionE5fmodifiedQDx2009E2d06E2d29T10E3a35E3a03E5aX qeditorZtypeQUqfntypeZApplicationQ qeditorZtypeQUqfntypeZE45E78ampleQ qeditorZtypeQUqfntypeZE52esourceQ qfnZallowedE5fcountryE5fgroupQUqfnCountryGroupZBQ qfnZaudienceQUqfnAudienceZintermediateQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZaudienceQUqfnAudienceZtechnicalQRqmarsZrelevanceQNx100X qfnZcompatibilityQSxS60E205thE20E45ditionE2cE20S60E203rdE20E45ditionE20FP2E2cE20S60E203rdE20E45ditionE20FP1E2cE20E51tE20forE20S60E204E2e5E2e2E20TowerE2eE20TestedE20onE3aE20NokiaE205800E20E58pressMusicE2cE20NokiaE206220E20ClassicE2cE20NokiaE20N96E2eE20E44evelopedE20withE3aE20S60E205thE20E45ditionE20SE44KE20forE20SymbianE20OSE20andE20E51tE204E2e5E2e2E20TowerE2cE20S60E203rdE20FP1E20E45ditionE20SE44KE20forE20SymbianE20OSE20andE20E51tE204E2e5E2e2E20TowerE2eX qfnZdistributionQUxhttpE3aE2fE2fforumE2enokiaE2ecomE2fX qfnZeE78portE5fcontrolE5fcommodityE5fnumberQSx99X qfnZfilenameQSxE51tE5fforE5fS60E5fE51StackedWidgetE5fE45E78ampleE5fv1E5f0E5fenE2ezipX qfnZpublishedQDx2009E2d06E2d29T00E3a00E3a00E5aX qfnZrepresentationQLqeditorZAttachmentQxE51tE5fforE5fS60E5fE51StackedWidgetE5fE45E78ampleE5fv1E5f0E5fenE2ezipX qfnZtopicQUqfnTopicZbaseE5fsystemQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZE71tQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZE71tE5fforE5fs60QRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZseriesE5f60QRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZseriesE5f60E5f3edQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZseriesE5f60E5f5edQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZuiQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtypeQUqfntypeZApplicationQ qfnZtypeQUqfntypeZE45E78ampleQ qfnZtypeQUqfntypeZE52esourceQ qfnZusE5foriginQLqE78sdZbooleanQxtrueX qmarsZdescriptionQSxThisE20E51tE20CE2bE2bE20applicationE20providesE20aE20methodE20toE20implementE20multipleE20viewsE20inE20E51tE20forE20S60E20applicationsE20E28anE20alternativeE20toE20usingE20tabsE29E2eE20ViewsE20E28E51WidgetsE29E20areE20storedE20inE20aE20stackE20E28E51StackedWidgetE29E2eE20OnE20applicationE20startupE2cE20onlyE20theE20defaultE20viewE20isE20createdE20inE20theE20stackE2eE20ToE20optimiseE20memoryE20consumptionE2cE20theE20otherE20viewsE20areE20notE20createdE20untilE20theyE20areE20neededE2eE20E45veryE20viewE20hasE20itsE20ownE20OptionsE20menuE20andE20CBAE20buttonsE20withE20viewE2dspecificE20commandsE2eE20TheE20eE78ampleE20hasE20beenE20testedE20toE20workE20onE20S60E203rdE20E45ditionE20andE205thE20E45ditionE20devicesE20withE20E51tE20forE20S60E204E2e5E2e2E20TowerE20releaseE2eE20ImportantE20classesE3aE20E51WidgetE2cE20E51StackedWidgetE2cE20E51MainWindowE2eX qmarsZeditionQNx1X qmarsZencodingQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fencodingE2d1E2fzipX qmarsZinstanceOfQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fd6287a35E2d5494E2d44afE2dabceE2df65637c6b0b9E2fE51tE5fforE5fS60E5fE51StackedWidgetE5fE45E78ampleX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qmarsZrevisionQNx0X qmarsZsizeQNx39849X qmarsZtitleQSxE51tE20forE20S60E3aE20E51StackedWidgetE20E45E78ampleX qncZrightsQSxCopyrightE20Ea9E202009E20NokiaE20CorporationE2eX qwebZresolvesAsQUxhttpE3aE2fE2fwwwE2eforumE2enokiaE2ecomE2fdpE3furiE3dhttpE253AE252FE252FswE2enokiaE2ecomE252FidE252Fa871842cE2db1c3E2d4aa2E2d9e1aE2d18336ac0e98cE252FE51tE5fforE5fS60E5fE51StackedWidgetE5fE45E78ampleE5fv1E5f0E5fenE2ezipX qrdfZtypeQUqfnZPrimaryE52esourceQ qrdfZtypeQUqfntypeZApplicationQ qrdfZtypeQUqfntypeZE45E78ampleQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqmarsZMediaInstanceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ qrdfsZseeAlsoQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fb8dc2924E2dc71fE2d487cE2db0b3E2db9ada97efaecE2fE51tE5fforE5fS60E5fE51TabsE5fE45E78ampleX