On Sun, Jun 4, 2017, 4:00 AM Ruchit Bhatt <[email protected]>
wrote:

> Qt Alignment has option like
> AlignLeft, AlignRight, AlignHCenter, AlignJustify, AlignAbsolute,
> AlignTop, AlignBottom, AlignVCenter, AlignCenter
>
> still no idea about how to rotate,
>

Oh sorry about that. My mistake.

Looks to be something you need to implement yourself in a custom
QHeaderView by defining paintSection and sizeHint

https://forum.qt.io/topic/4960/how-to-set-orientation-of-text-in-horizontal-header/17

http://www.qtcentre.org/threads/59880-QHeaderView-s-text-rotation

-- 
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/ff31c581-f0e6-4956-8a7e-716cd4b193eb%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/ff31c581-f0e6-4956-8a7e-716cd4b193eb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0eH4eC95yu2Ub3CzDqNgmdeZUkMd8_4PnHCuVd6UsaTw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to