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 on Maemo (Nokia N900 PR1.2) with Qt 4.6.2 and on Symbian^3, Symbian S60 5th Edition, and Windows XP with the Qt 4.6.3 release.
Important classes: QPixmap, QPainter, QWidget, QColorDialog, QFileDialog.
Symbian^3, Symbian S60 5th Edition, Maemo 5, Windows XP. Tested on: Nokia N8, Nokia 5800 XpressMusic, Nokia N97 mini, Nokia N900, Windows XP. Developed with: Maemo 5 SDK, and Nokia Qt SDK v1.0.