Namespaces
Variants
Actions

Shopping List Application in Qt

Jump to: navigation, search
Article Metadata

Code Example
Article
Created: mahbub_s60 (30 Nov 2009)
Last edited: hamishwillee (01 Aug 2012)

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 1 August 2012, at 07:40.
92 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved