Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. What is QGraphicsItem:ItemIsPanel
Forum Updated to NodeBB v4.3 + New Features

What is QGraphicsItem:ItemIsPanel

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 199 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.
  • K Offline
    K Offline
    ken.teh
    wrote on last edited by
    #1

    I've created a QGraphicsScene with items, some of which should bring up a dialog on a contextmenu event. I'm trying to understand if I need to make them panels. What is the thinking behind making an item a panel? I get the impression from the docs that a panel is perhaps suitable when the item is actually a group of items/widgets so you get focus handling within the item. Should I bother figuring this out? I'm guessing popping up a dialog is good enough for my purpose, that it will block other items from handling context menu events until the dialog is dismissed.

    My apologies for not RTFM. I'm under deadline pressures so I'm trying to avoid going down unnecessary exploratory paths.

    Thanks in advance.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      From the looks of it, no, no need for that in your case.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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