void QItemSelectionModel::currentChanged(const QModelIndex & current, const QModelIndex & previous) [signal]
This signal is emitted whenever the current item changes. The previous model item index is replaced by the current index as the selection's current item.
Note that this signal will not be emitted when the item model is reset.
信号糟使用QTreeView->selectionModel(),而不是QTreeView