I have a QTreeView with cells (on the same column) each having very long texts. I want to display only the most right characters of the text since each text represents a very long file name.

How to right justify the texts of the column of a QTreeView?