[Qt-qml] Anybody had luck with using dynamic list with Colibri's CLComboBox?

Bo Elmgreen bo.elmgreen at gmail.com
Sat Mar 26 15:55:58 CET 2011


Hi all,

I am trying to use a dynamic list (a C++ model that inherits from
QAbstractListModel and which I have exposed to QML) with the Colibri
CLComboBox component. I had to make a change in the component itself
(CLComboBox - I changed the items property to: property alias items:
itemsList.items)
and in the other component that it relies on (CLListBox - I changed the
items property to: property alias items: theList.model) but my problem is,
that when I press the button to expand the list, I cannot see the list
contents :-( The height of the combo-box does not change... It works fine
with a static list, so I am just wondering if the components are not geared
to dynamic lists?

Any feedback would be appreciated!

Thanks,
Bo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110326/812c0da3/attachment.html 


More information about the Qt-qml mailing list