On Mon, Feb 6, 2012 at 6:44 AM, Shaun Reich <shaun.re...@kdemail.net> wrote: > bit of a snag...how can i create a model/listview from > plasmasource.data["list-dictionaries"] ? > > there's 1 source which has many keys and values, as you'll see by > requesting that source from plasmaengineexplorer. > > thought of a model of a model, but that's not possible ;-p > > got to be an easy way...
you can try to use directly plasmasource.data["list-dictionaries"] as model then access it by modeldata. if it fails, a ListModel has to be built by hand by iterating over the properties of the plasmasource.data["list-dictionaries"] object _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel