c++ - How do you remove row numbers for a QTableView in Qt -


this question has answer here:

i using qtableview display instructions low level emulator.

however, rows index 1 whereas instructions index 0. either need remove row numbers , add column can fill 0 indexed instruction number of change row numbers index 0.

i cannot see how either, being blind?

try:

yourtable->verticalheader()->setvisible(false); 

to hide row numbers.


Comments

Popular posts from this blog

Hard vs. Soft Water: What's The Difference?

Weed, Guns & Minimum Wage: What Else Is The U.S. Voting On?

The Ten Most Livable Cities In The World