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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -