QEdwinEx

QEdwinEx

The QEdwinEx application demonstrates the implementation of the control factory interface MQikControlFactory to construct a new control derived control from CEikEdwin. The new control CEdwinExNumericEdwin will differ from a standard Edwin in two ways:

The QEdwinEx application contains a single view which contains one standard CEikEdwin and two CEdwinExNumericEdwin controls.

Construction of the CEdwinExNumericEdwin controls will be done via:

Class summary

CEdwinExApplication is the entry point to the application.

CEdwinExDocument represents the document in the application.

CEdwinExAppUi is responsible for creating the view.

CEdwinExView presents a standard CEikEdwin control and two CEdwinExNumericEdwin controls.

CEdwinExNumericEdwin derives from CEikEdwin and overrides both InputCapabilities() and OfferKeyEventL() to constrain input to the control to positive western integers and navigation keys.

Usage

First, run bldmake from the projects group directory where the bld.inf file is located:

> bldmake bldfiles

This creates a batch file, called abld.bat, which you use in the next step. To build the project, you call abld build which will build the project for all default targets in both release and debug variants. To build for a particular target and variant, use abld build target-name variant, for example,

> abld build winscw udeb

builds the project for the debug variant of WINSCW only. To run it, choose the application name from the Launcher.

UI configuration

This example supports the reference UI Configurations that are supported in the UIQ 3 SDK. For development purposes, UiqEnv allows to change the UI Configuration in the emulator in order to develop and test the application with varying phone styles.

Changes in this version

Version 1.1 2006-12-28

Minor documentation changes.

Version 1.0 2006-12-13

First release.

Download:  QEdwinEx

sys_warning

You need to be a registered member of the UIQ Developer Community and logged in to be able to download this file.

  73.05 Kb  (Last update: 2006-12-13)

«« Back

UIQ 3 SDK documentation

Quick links

More developer resources