Commit b05d443f authored by Gabriel de Dietrich's avatar Gabriel de Dietrich Committed by The Qt Project
Browse files

Menu, MenuItem: Make those guys QObjects, not QQuickItems


Added '__visualItem' private property to QtMenuBase, pointing to the
actual QtQuick item representing the menu item. We use this to get the
window an item belongs to, and its position inside the menu popup.

Also, moved some logic from ContextMenu into ComboBox, where it looks
more appropriate.

Change-Id: Idbed0497359457a696c7cac8703ae9d47f5e2003
Reviewed-by: default avatarJ-P Nurmi <jpnurmi@digia.com>
parent 0b8a065d
Showing with 58 additions and 52 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment