简体   繁体   中英

pyqtgraph DataTreeWidget show lines like QTableWidget

QTableWidget has lines that looks like a spreadsheet. DataTreeWidget doesn't show lines. Is there a way to add lines to a pyqtgraph DataTreeWidget that displays nested dictionaries?

DataTreeWidget is just a thin subclass of QTreeWidget, so you're more likely to get answers looking there. For example:

http://www.qtcentre.org/threads/55363-QTreeView-and-Column-Row-Gridlines

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM