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. Scene Items with respect to Viewport

Scene Items with respect to Viewport

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 480 Views
  • 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.
  • J Offline
    J Offline
    Jaisan
    wrote on last edited by
    #1

    how to maintain a scene items with respect to viewport.
    Single scene is used in different viewport , but i would like to maintain the QGraphciItem stacking order with respect to viewport.

    raven-worxR K 2 Replies Last reply
    0
    • J Jaisan

      how to maintain a scene items with respect to viewport.
      Single scene is used in different viewport , but i would like to maintain the QGraphciItem stacking order with respect to viewport.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Jaisan said in Scene Items with respect to Viewport:

      but i would like to maintain the QGraphciItem stacking order with respect to viewport.

      what does that mean??

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • J Jaisan

        how to maintain a scene items with respect to viewport.
        Single scene is used in different viewport , but i would like to maintain the QGraphciItem stacking order with respect to viewport.

        K Offline
        K Offline
        kenchan
        wrote on last edited by
        #3

        @Jaisan
        Do you mean you want a different stacking order for each viewport?
        A scene can only have one stacking order so if you are using the same scene in both they will both have the same stacking order.
        You will need a scene for each viewport, or possibly two different zones in one scene with copies of the items having different stacking z values. Then you point your viewports at the respective zones.
        Maybe keep your "drawing data" in your own data structure then build a scene for each viewport with a different stacking order from your "drawing data".

        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