阅读背景:

QML ListView使用QList作为模型。

来源:互联网 

Qt's documentation seems a bit short on the issue, but I'm trying to use QLists as models for a ListView. The thing is, I'm representing a hierarchy, and whenever an item is clicked, the model is swapped with another one, which QML gets from a C++ callback.Qt's documentation seems a bit short on the iss




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: