[Qt-interest] [urgent] QTableView::selectedRoe() is there anything like this ??

Andreas Pakulat apaku at gmx.de
Thu Apr 23 18:13:28 CEST 2009


On 23.04.09 20:49:17, Neel Basu wrote:
> I've a QTableView and there is a QAbstractModelDerived Class (there is no edit 
> trigger).
> There is Add/Delete Button on the delete Button I want to delete the entry 
> that is selected in the QTableView from a Slot in QFrame Derived object.
> 
> Now How can I get Which row is selected ??

Use the selection model that the tableview has, see the api dox for
QAbstractItemView::selectionModel().

Andreas

-- 
Your mode of life will be changed for the better because of good news soon.



More information about the Qt-interest-old mailing list