QTableWidget with 2 headers
Unsolved
General and Desktop
-
Good afternoon.
Is it possible to make superheadings over some QTableWidget headers so that the superheadings include one or more headers?
@Mikeeeeee
No,QTableWidget
/QTableView
does not offer that. -
Hi,
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.
-
@Mikeeeeee said in QTableWidget with 2 headers:
This example does not run
What do you mean? It does not compile? It does not start? Any error messages?
-
@Mikeeeeee said in QTableWidget with 2 headers:
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 ?