Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QTableWidget with 2 headers
Is it possible to make superheadings over some QTableWidget headers so that the superheadings include one or more headers?
JonB last edited by JonB
QTableViewdoes not offer that.
You will have to implement your own QHeaderView for that kind of stuff.
You have here an example that shows how to implement the span of a header over multiple columns. It could be a base for your custom header.
This example does not run. Are there any other examples?
This example does not run
What do you mean? It does not compile? It does not start? Any error messages?
Maybe share the error you are getting ?
JonB last edited by
That would be a lot to ask.
The example is from 2014. Even then there are two comments from people about compiling it. I don't know whether @Mikeeeeee heeded those.