开发者

PyQt ListView with groups

How can i create connection groups inside a QListView with PyQt.

The group name should not be selectable开发者_C百科.

Example: http://www.shrani.si/f/T/bB/gSpSsYt/connectionlist.jpg :)


There are basically two approaches: add items that are the "section headings" that can be set disabled (see setFlags), or use a QTreeView.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜