[Qt-interest] About inheriting from QGraphicsObject
Marc Ferland
marc.ferland at gmail.com
Fri Sep 2 16:33:56 CEST 2011
Hi,
I'm currently writing a set of classes that need to inherit from
QGraphicsObject to use signals, slots and properties and, for some of these
classes I would also like to reuse the implementation of predefined graphics
items like QGraphicsLineItem.
What would be the best way to do this? At first I thought I would just
copy-paste the "drawing" code from the basic graphics items but this doesn't
seem right...!
I guess what I'm looking for is a QGraphicsObjectLineItem class.
Regards,
Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110902/05fe1528/attachment.html
More information about the Qt-interest-old
mailing list