qt - QML Listview header from QAbstractListmodel headerData() -
i'm exposing many qabstractlistmodels qml listview (qt4.8.2 qml 1.1). problem now, qml listview ignoring headerdata() function of listmodels. looking solution more 4 hours now.
i'm thinking have implement own q_invokable function realize this.
please let me know if there way implement headerdata() function!
thanks in advance.
a qtquick listview doesn't have header item, doesn't need headerdata() in normal operation.
if have added item serves header , want model provide string, can either indeed make headerdata() method q_invokable or add q_property value.
Comments
Post a Comment