I create a one QToolButton and adding some Menu Actions on it. I want Change the orientations of menu. Currently all menu items show me in veritcal manner. Please any one tell me how to changes its orientations into Horizontal manners.
Qt Code:
toolMenu->addAction(action1); toolMenu->addAction(action2); toolMenu->addAction(action3); toolBut->setMenu(toolMenu);To copy to clipboard, switch view to plain text mode
I want to implement like this way.
_________ _______ ______________
|TOOLBTN | ACT1 | ACT2 |ACT3 |
|_________|______________________|
|TOOLBTN1|
|_________|
|TOOLBTN2|
|_________|
Bookmarks