Of course you can do this in Qt.

Check out the torrent example in the documentation.

You do this by creating a delegate.