Solved How to Render displayed horizontal and vertical header of QTableView
-
Hi, i use a QTableView to display a data models. I set the vertical and the horizontal header text but this are displayed with a rectangle like in the picture: My question is how can i remove these rectangle from the view?
One issue that i try is to reimplement the painSection function in the model at first and in the delegate finally but this does not work.
Thank in advance. -
@vladzouth
Have you tried/it might be easiest playing with stylesheet for this, likeQHeaderView::section { ... }
perhapsborder-...
attributes, or wholeQTableView
? -
you are right @JonB . It works using stylesheet. Thank you