×
Namespaces

Variants
Actions

Shopping List Application in Qt

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Code ExampleCompatibility
Platform(s):
S60 5th Edition
Article
Created: mahbub_s60 (30 Nov 2009)
Last edited: hamishwillee (30 May 2013)

Contents

Introduction

By relatively shorter effort we can write application in Qt compared to Symbian C++. There are lots of widgets are built in and developers just need to use it without thinking much. In this article, we have introduced the shopping list application for Qt. This has been tested with 5th edition emulator and N97. Developers can add functionalities such as send via SMS or send via BT (Bluetooth) to make it more powerful shopping list application. Similar shopping list can be found from the following links in non Qt platform.

http://www.hemelix.com/shoppinglistcreenshot implemented by Symbian C++
http://www.flyinglist.com/index.html probably implemented by Java

How it works

User inserts items for first time either in new list view or all item view. Those are stored as new list (this one is actually going to be new shopping list). If an item is added to new list that is passed to all item view. Later when user make a new list then we just selects from all item view and creates a new list for shopping. When user has the new shopping list, if he purchases an item then the app mark it as purchased and when all items are marked it will be stored in the file system, number of stored list can be controlled by the settings item in the 3rd tab.

Classes used in this application

QMainWindow, QAction, QString etc classes have been used and that can seen from the attached zip file


Example source code

File:Shoppinglist.zip

This page was last modified on 30 May 2013, at 09:39.
45 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×