
Badges are used olso in Mac OS X in application like iTunes and in the DockBar, check this post "Cocoa Notification Badge" to see how to use it with cocoa.
Obviously Notification Badges will be a features of My OpenMoko Apps.
The Example is very simple, there's a method that draws the badge with specified text and Brush, you can put the badge where you want not only on top left as showed in the picture :)
The Source Code is Available here: Qt Draw Badges Source Code.
Typo in the link to the code. It's actually:
ReplyDeletehttp://th30z.netsons.org/wp-content/uploads/qtdrawbadges.zip