hi,
i want to align the text to the right in a QTextEdit
i tryed the following code but it failed
Qt Code:
  1. mainText->setAlignment(Qt::AlignRight);
To copy to clipboard, switch view to plain text mode 
i also want to show a tree elements from right to left
i build QTreeWidget and i successed to fill it with items
but the tree nodes appeares from left i want them from right
please help me.
and thank you