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. Displaying bug with QGraphicsView in QGraphicsView

Displaying bug with QGraphicsView in QGraphicsView

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 504 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.
  • V Offline
    V Offline
    veiovis
    wrote on last edited by
    #1

    Hello,

    I want to display hierarchical statecharts with QGraphicsViews.
    So every State can contain substates which in turn can i have also substates and so on.
    Each state displays its substates in a QGraphicsView, so there are QGraphicsViews in QGraphicsView in QGraphicsView...

    I tested it with a top level state, that contains two substates.
    Now comes the strange part:
    The first inserted substate is displayed perfectly fine, but the second substate seems to be confused of who its parent is:
    The visibility of the 2nd substate depends on the position of the parent state and it can be dragged partly out of its QGraphicsView.
    I made a short video to demonstrate the behavior:
    https://www.youtube.com/watch?v=obWVBnKueJc

    Is it a general problem to have a QGraphicsView inside a QGraphicsView?
    Does anybody have a clue why this happens for the second, third etc widget?

    Thanks in advance
    veio

    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