Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to get the numbers which are created as row numbers when we create QTableWidget
Is it possible to get row numbers created automatically on left side in QTableWidget or QTable View.
How to get it?
Please don't double-post your questions. You also asked this question in your topic about how to find out what row was selected.
Actually i want to get the horizontalHeaderItem of QTableView?
giesbert last edited by
The header items of a view come from the model: "headerData":http://doc.qt.nokia.com/4.7/qabstractitemmodel.html#headerData
If your model did not implement it, there is a default implementation, which can be seen in the Qt source code :-)
I am actually not sure what the default implementation for the headers is for QTableWidget. I tend to avoid that class :-)
How to add image file in post please tell so that i can add image to show what i want to read from QTableView.
QtDevnet does not allow uploading of images. You will need to find some external host for your image data. I use my dropbox account, using the public folder to put those images, but there are many other image hosters available on the net.
rokemoon last edited by
[quote author="Rajveer" date="1320743912"]Hi Andre
How to add image file in post please tell so that i can add image to show what i want to read from QTableView.[/quote]
For example "postimage":http://postimage.org/