This resource is archived because it is not considered relevant for developers creating commercial solutions today.
The resource is believed to be still valid for the original topic scope.
This Qt code example demonstrates optimised pixel drawing to the QPixmap picture. The application provides a number of drawing options that can be selected from a toolbar. All application graphics have been implemented as Scalable Vector Graphics (SVG) icons. To enhance the drawing experience, the application updates only a small area of the screen when the user is drawing.
The updated example application has been tested to work on Maemo and Symbian with the Qt 4.6.2 release.
Important classes: QPixmap, QPainter, QWidget, QColorDialog, QFileDialog, QtColorPicker.
Maemo 5 SDK and Qt 4.6.2. Tested on: Nokia N900, Nokia N8, Nokia N97. Developed with: Maemo 5 SDK and Qt 4.6.2, S60 5th Edition SDK, Qt 4.6.2, Nokia Qt SDK v1.0.