开发者

QAbstractItemModel and QTreeView [closed]

开发者 https://www.devze.com 2023-01-28 03:40 出处:网络
It's diffic开发者_JS百科ult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. F
It's diffic开发者_JS百科ult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

I need working examples (c++) of show own data model in QtreeView.


There's a pretty good QTreeView/QAbstractItemModel example here. It's fairly straightforward once you get used to QT's ultra-generic model... just don't expect it to be as simple or obvious as Java's TreeModel.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号