I create an object with tableWidget have. I take information from the database and the inside of the display. Also able to create the new column. How to access row columns was?
____________________________
debian forums
I create an object with tableWidget have. I take information from the database and the inside of the display. Also able to create the new column. How to access row columns was?
____________________________
debian forums
Are you able to show data in your tablewidget ? If yes I guess you are using QTableWidgetItem.
You can access that item through QTableWidget::item
How to access the rows and columns have data in it do instead? For example, the first row and first column and the second and third
to acess data
Qt Code:
tableWidget.item(line, row)To copy to clipboard, switch view to plain text mode
to set data
Qt Code:
tableWidget.item(line, row)->setText("some text");To copy to clipboard, switch view to plain text mode
__________________________________________________
My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
Like my projects ? Buy me a kofi
Bookmarks