Details
-
Suggestion
-
Resolution: Out of scope
-
P4: Low
-
4.6.3
-
None
Description
There is no way to set the grid width or grid pen from outside. That makes it extremely difficult to customize grid drawing of the widget.
It will be extremely helpful if those two things which are right now hardcoded in the paint function can be exposed outside.
In my particular case I can do it be either subclassing it and then writing a lot of paint code that is already there in QTableView.
or
I can do some dirty work in delegate.
Both of which are cumbersome compared to a change in QTableView. Though its your design and your choice by all means, but It will be nice if its exported outside. Will make life so much easier. If its allowed I can submit a patch also for doing the same.