[Interest] QT Quick Controls - Menu

deDietrich Gabriel Gabriel.deDietrich at digia.com
Thu Oct 10 16:24:54 CEST 2013


I agree that the documentation is slightly misleading. There is private API to position the menu at any position, but for the moment it’s still… private. We may make it public in a way or another if we see demand for that.

BTW, what is your exact use case?

Best regards,

Dr. Gabriel de Dietrich
Senior Software Developer

On Oct 6, 2013, at 4:42 AM, Not Available <webyte at live.com<mailto:webyte at live.com>> wrote:

After reading through both the documentation for Menu and the related source code (links listed below), I can’t figure out a way to use use the Menu for standalone use. The documentation states it can be used “as a standalone or context menu”. It’s clear how it can be used as a context menu and in the menubar, but the source code seems to focus on popping the menu up at the mouse cursor. Am I missing something? Is there an easy way to use the Menu element for a standalone menu without jumping through error prone hacking of the internals or recreating the functionality with a custom component? Any and all help is appreciated. Thanks.



Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131010/892cb09f/attachment.html>

More information about the Interest mailing list