Hi Guys,
I want to directly display the QComboBox in the QTableView, not need to double click, Could anyone give me some ideas? thanks in advance.
Hi Guys,
I want to directly display the QComboBox in the QTableView, not need to double click, Could anyone give me some ideas? thanks in advance.
In the QTableView, change the editTriggers to currentchanged. Use function QAbstractItemView::setEditTriggers(EditTriggers triggers) or better still do it in designer.
Bookmarks