[Qt-interest] Using QGraphicsLayouts inside QGraphicsWidgets

Schimkowitsch Robert Robert.Schimkowitsch at andritz.com
Mon Jun 27 15:29:50 CEST 2011


> QGraphicsItem from which QGraphicsWidget inherited indirectly is
responsible 
> for deleting any child graphics items. This is analogous to how
QObject 
> derived items delete their children in the rest of Qt.

And this is what confuses me. Because QGraphicsLinearLayout is no
QGraphicsItem subclass. How does it fit into the parent/child hierarchy?
Why should QGraphicsItem (which knows nothing of layouts) care about a
QGraphicsLayoutItem?

Kind regards

Robert Schimkowitsch

#####################################################################################
This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.
Thank You.
  ANDRITZ HYDRO GmbH
  Rechtsform/ Legal form: Gesellschaft mit beschrankter Haftung / Corporation 
  Firmensitz/ Registered seat: Wien 
  Firmenbuchgericht/ Court of registry: Handelsgericht Wien 
  Firmenbuchnummer/ Company registration: FN 61833 g
  DVR: 0605077 
  UID-Nr.: ATU14756806
#####################################################################################




More information about the Qt-interest-old mailing list