简体   繁体   中英

How can I achieve Multiline Header in the QTableView

I want to achieve a table header like this[see the pic ] use the PyQt. But the default QTableView can only define one row, is there some methods I can achieve this?

在此处输入图片说明

You should use a different horizontalHeader, but am not really sure on which kind of widget you would use for that. Perhaps another table with joined cells.

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