How to add a side toolbar with a vertical text in the toobar button
-
I want to have a tool bar layout verticaly which I can by susing
@setOrrientation(Qt:vertical)@
but the text in the button does not layout vertcation this only affect the layout of the button .
and I want the text to be vertical like :
P
r
o
j
e
c
t
splease any clou would be helpfull and thanks in advance for reading.
-
Maybe @setText(QLatin1String("P<br>r<br>o..."));@ works?
That is adding br-tags between each letter. Unfortunately they are resulting in linebreaks in the code example above:-(
-
thanks, but it does not for me . I have look the src code of monkey studio , they created a dock widget inheriting from toolbar. I think I am goin to try that .
-
there was also a "FAQ":http://developer.qt.nokia.com/faq/answer/how_can_i_draw_vertical_text on this
-
Thanks for the reply . I finaly checked out monkey studio source code . the use drawing and rotating as specified in the answer .