PDA

View Full Version : Right click menu



^NyAw^
24th January 2008, 19:04
Hi,

When right clicking on a border of a Dock or on a Toolbar, a menu is showed letting me enable or disable the Docks and Toolbars.

Is there anyway to insert this menu to a QMenu or have I to implement it?

Thanks,

jpn
24th January 2008, 19:11
QMainWindow::createPopupMenu()

^NyAw^
24th January 2008, 20:13
Hi,

Well, now the problem is that the menu has no name to show and I don't find how to change it.

Thanks,

jpn
24th January 2008, 20:16
Did you look at methods/properties in QMenu that would handle a QString. Hint: try searching for "title".

^NyAw^
24th January 2008, 20:22
Hi,

:-P

Yes, but the behaviour is not that I expected.