Hi Thomas,

On 01/12/2010, at 2:07 AM, ext Thomas PABST wrote:

> Hi,
> 
> I'm currently trying to find a way to make differents items on a ListModel !  
> I design a general box, and I would like to add customs items on them. By 
> exemple, I would like to add a file manager on the first one, an addess book 
> on the second one, an agenda on the third ... But only on the green area. 
> 
> The purpose is to find how we could make the green zone as free area, where 
> different developers will add her own widget. A easy way could be to 
> specifies on the listElement the name of a external existing qml file !

If the custom items are defined in QML files, try the Loader element:

http://doc.qt.nokia.com/4.7-snapshot/qml-loader.html

You could add a Loader object to your delegate, and set it to load the QML file 
containing the custom item for that delegate.


regards,

Bea
_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to