UID:71651
UID:21207
UID:79354
引用楼主zdd1984于2008-12-21 19:54发表的 QTableView中的一列添加QPushButton后,单击如何返回行号(row)?(在线等) :QTableView中的一列添加QPushButton后,单击如何返回行号(row)?如何返回行号(row)?做过这方面的给指点下吧多谢
UID:41286
UID:37594
引用第3楼jorneyr于2009-08-01 18:50发表的 :自己实现QAbstractItemDelegate
QWidget * QAbstractItemDelegate::createEditor ( QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index ) const [virtual]Returns the editor to be used for editing the data item with the given index.
引用第4楼hover_sky于2010-01-25 09:37发表的 :
UID:81635