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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -