Replymessage unavailable
you need to set the alignment when adding new items, or you can have the data function overloaded it.
1.
some_item = QStandardItem(value)
some_item.setTextAlignment(Qt.AlignRight)
# then you add that item to the model()
2.
def data(...):
# ...
if role == Qt.TextAlignmentRole:
return Qt.AlignRight