How to hide row numbers in Qtablewidget
General and Desktop
4
Posts
3
Posters
18.0k
Views
1
Watching
-
wrote on 27 May 2012, 22:11 last edited by
is it possible to hide row numbers in qtablewidget
-
wrote on 28 May 2012, 00:50 last edited by
Uncheck the "verticalHeaderVisible" property in the Property Editor?
-
wrote on 28 May 2012, 01:43 last edited by
bq. is it possible to hide row numbers in qtablewidget
Yes. In Designer as above, or in code:
@ ui->tableWidget->verticalHeader()->setVisible(false); @(Adapt as required for variable names etc.)
-
wrote on 28 May 2012, 09:08 last edited by
thanks! it was pretty simple
1/4