QT中TreeView中的item失去焦点和获取焦点
如题,在QT中有没有treeView的item失去焦点和获取焦点的函数呢 QT TreeView
[解决办法]
virtual voidselectionChanged ( const QItemSelection & selected, const QItemSelection & deselected )重载这个
[解决办法]
或者这个virtual voidcurrentChanged ( const QModelIndex & current, const QModelIndex & previous )