View Single Post
benlau's Avatar
Posts: 135 | Thanked: 375 times | Joined on Mar 2010 @ Hong Kong
#7
Originally Posted by Venemo View Post
Indeed.
A picture of the dialog is here:
Link
It also has an "Advanced" button for advanced color selection, and you can set an arbitrary title and default color for the dialog.
It returns a QColor instance which holds the selected color data.
Thanks!

Originally Posted by Venemo View Post
Thanks!
If I see it correctly, all I need is a PPPaper instance, and do stuff with that?
yes. The core is PPPaper.

Moreover, Qt has two GUI framework. The first one is QWidget based , which is similar to GtkWidget , it provide a traditional way to develop GUI.

The other one is QGraphicsItem based , which is designed for 2D / 3D graphical user interface. Each item has it own transformation matrix , which is similar to Flash.

PenPen use the second one , which is more flexible , but the code to get started is a little bit complex than using widget. I am thinking about to pack a QWidget class so that it is more easy to get started.

The concept should be much clear when the demo code is ready.
__________________
Qt Ambassador | Nokia Certified Qt Specialist
PenPen SketchBook |
FrontView - 0.2 is released! | DQuest
Status: Now working on GTD software
 

The Following User Says Thank You to benlau For This Useful Post: