Unsolved Hide QHeaderView Section Numbers
-
Is there a way to hide the QHeaderView section numbers? I wanna keep the section body
but not the numbers on them. -
@yxlee
The numbers come from the model's headerData() method.
You can overrride it and return an empty QVariant for Qt::DisplayRole -
@raven-worx
Thanx alot. Great help....yxlee.