Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Passing item from GridView (using a ListView and delegate) to a Popover as it's host
Forum Updated to NodeBB v4.3 + New Features

Passing item from GridView (using a ListView and delegate) to a Popover as it's host

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 819 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tory Gaurnier
    wrote on last edited by
    #1

    I am using an ActionSelectionPopover, which is an Ubuntu component, it has a property called "caller", which you set the item that calls it (a button, or other item that you click on for the popover to be activated), and it uses this "caller" to position the popover, however my item is from a GridView, and the onClicked is happening in the delegate, I tried setting the delegate as the caller, and of course it didn't work (I knew it wouldn't, but figured it was worth a shot). Does anyone have any clues as to how I can handle this? Is there an "Item" that is generated from a ListModel with a Delegate that I can somehow use as the caller? And is this type of popover familiar too anyone? I'm not sure if the Ubuntu component is getting it from an already existing component, I couldn't find anything in a Google search, but maybe there's a way to pass the coordinates directly???

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved