Hi All,
I have an options menu that I would like shown when a user presses on an item a list view.
What do I need to put into my window's selectionChanged slot to get the menu to be automatically shown?
Cheers,
Donal
Printable View
Hi All,
I have an options menu that I would like shown when a user presses on an item a list view.
What do I need to put into my window's selectionChanged slot to get the menu to be automatically shown?
Cheers,
Donal
I've tried using QMenu::exec() and QMenu:: popup(), these allow me to create the menu anywhere on the screen. But I haven't found a way for them to "activate" the Options menu along the bottom of the screen (as if I had manually pressed on the Options menu).
Anyone any ideas how to do this programatically?
Cheers,
Donal
You could maybe use the menuBar() call.
Alternatively, what about injecting a Symbian mouse press event or CBA event into the event loop?
As said, all of this is speculative. But please keep us posted if you manage it!