Re: [Interest] problem when inheriting from QQuickItem

2013-05-10 Thread VStevenP
e any more ideas, thanks in advance for any.   I am really hoping I can use my own custom Item and have it be able to display nested components. - VStevenP > > From: Preet >To: interest >Sent: Friday, May 10, 2013 3:49 PM >Subject: Re: [In

Re: [Interest] problem when inheriting from QQuickItem

2013-05-10 Thread Preet
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 wrote: > One minor correction, the import commands should say MyItem, not KItem. > > I adjusted the code below accordingly.

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 res

[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