Re: [Qt-qml] [Qt-interest] Data type that is serializable _and_ QML friendly?

2010-10-22 Thread aaron.kennedy
Hi, Can you define exactly what you mean by "QML friendly"? That is, what features of the QML language do you want to work on your type? Cheers, Aaron On 21/10/2010, at 7:59 AM, "ext Akos Polster" wrote: > (Re-posting from Qt-Interest) > > Hi, > > we have an API that delivers data to clie

Re: [Qt-qml] Apply Transform to Item in onChildrenChanged?

2010-10-22 Thread Charley Bay
Hi, Michael-- >>Charley spaketh: >> I wrote my own "layout" type class by hooking >> into onChildrenChanged which is triggered on >> parent changed, and it works great: >> >> Item { >>    id: myItem >>     onChildrenChanged: { >>      myItem.myUpdateChildrenPlacement() >>     } >> >>     function

Re: [Qt-qml] FontLoader memory consumption

2010-10-22 Thread Cornelius Hald
Hi Aaron, thanks for the reply. The bug is filed here: http://bugreports.qt.nokia.com/browse/QTBUG-14629 Cheers, Conny On Fri, 2010-10-22 at 10:23 +, aaron.kenn...@nokia.com wrote: > Hi, > > It is possible that this is happening. Can you please file a bug? > > In the mean time, it is poss

Re: [Qt-qml] FontLoader memory consumption

2010-10-22 Thread aaron.kennedy
Hi, It is possible that this is happening. Can you please file a bug? In the mean time, it is possible to work around this just by putting your FontLoader in the root of your qml project instead of one in each PrimaryText element. Cheers, Aaron On 22/10/2010, at 7:44 PM, ext Cornelius Hald

[Qt-qml] FontLoader memory consumption

2010-10-22 Thread Cornelius Hald
Hi, I want to include custom fonts within my QML application. Currently I'm doing it like this: # PrimaryText.qml Text { FontLoader { id: myfont; source: "../fonts/myfont.ttf"} font.family: myfont.name font.pixelSize: 26 } Everywhere I need this font, I'm using 'PrimaryText' instead