Set alignment for QTreeView cells



  • How to set alignment for qtreeview cells?
    Example :
    I want to set the item alignment of row 0 column 0 to left, and row 1 column 0 to right, etc.
    I need to create a treeview which it's text alignment could be different even in the same row or column
    Thanks.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.