PDA

View Full Version : QPenWidget & QBrushWidget



lni
13th February 2009, 19:50
Can Qt provide QPenWidget & QBrushWidget?

It is useful for editing a QGraphicsItem that need.

It is similar to QColorDialog, but don't make it a dialog, since it is hard to be embedded inside other QWidget...

codeslicer
14th February 2009, 01:17
QPenWidget and QBrushWidget do not exist... you're going to have to develop them yourself.

However, Qt Solutions has a color picker, although you'll need a commercial license:

http://www.qtsoftware.com/products/appdev/add-on-products/catalog/4/Widgets/qtcolorpicker/

You might want to do a bit more research on this.