[Interest] QT Quick Controls - Menu

Not Available webyte at live.com
Sun Oct 6 04:42:27 CEST 2013


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.

Documentation:http://qt-project.org/doc/qt-5.1/qtquickcontrols/qml-qtquick-controls1-menu.html
Sourcehttps://qt.gitorious.org/qt/qtquickcontrols/source/109dec4c8c3e5637998f2d1edd1ed8f721097010:src/controls/Menu.qmlhttps://qt.gitorious.org/qt/qtquickcontrols/source/109dec4c8c3e5637998f2d1edd1ed8f721097010:src/controls/qquickmenu.cpphttps://qt.gitorious.org/qt/qtquickcontrols/source/109dec4c8c3e5637998f2d1edd1ed8f721097010:src/controls/qquickmenu_p.h 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131005/3140209d/attachment.html>


More information about the Interest mailing list