Hi to all
I'm using QTableView I'd like to include in each row a QPushButton Is there a way to get a button into a QTableView cell?
Thanks you.
Hi to all
I'm using QTableView I'd like to include in each row a QPushButton Is there a way to get a button into a QTableView cell?
Thanks you.
No Problem with a custom delegate. See QAbstractItemView::setItemDelegateForColumn().
nikhil (13th July 2010)
If you aren't forced to use QTableView, you can use QTableWidget, it's straightforward
Qt Code:
//use this to add any widget to any cell in the table: // and this to get a pointer to this added widget:To copy to clipboard, switch view to plain text mode
nikhil (13th July 2010), ShaChris23 (1st September 2010)
is it Possible two split cell ?
or merge horizontal headers in QTableWidget.
Thanks in advance
Bookmarks