Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Vertical text in QActions on a QToolbar
-
Hi there
I wondered how to set a QActions's text direction to vertical. Just like kate's side panel or digikam's ? (Are they normal toolbars and actions?)
-
You may use the next code
@QAction* action = toolBar->insertWidget( beforeAction, widget )@where widget is QWidget with "rotated text":http://developer.qt.nokia.com/faq/answer/how_can_i_draw_vertical_text.