[Interest] problem when inheriting from QQuickItem

2013-05-10 Thread VStevenP
I'm having difficulty fully using a very simple class I wrote which inherits from QQuickItem.  I'm using Qt 5.0.0 on Win7 32-bit. I've exposed my class to QML, and I'm able to use it in my QML documents, but if I embed any visible objects, they won't display. The following QML document results

Re: [Interest] problem when inheriting from QQuickItem

2013-05-10 Thread VStevenP
One minor correction, the import commands should say MyItem, not KItem. I adjusted the code below accordingly. I am trying to figure out why my class which inherits from QQuickItem won't allow display of other embedded elements in my QML documents. - VStevenP -- The following QML document

Re: [Interest] problem when inheriting from QQuickItem

2013-05-10 Thread VStevenP
Subject: Re: [Interest] problem when inheriting from QQuickItem Does your item have the QQuickItem::ItemHasContents flag set? http://qt-project.org/doc/qt-5.0/qtquick/qquickitem.html#Flag-enum On Fri, May 10, 2013 at 3:10 PM, VStevenP vstevenpa...@yahoo.com wrote: One minor correction