Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. QGraphicsView free camera
Forum Updated to NodeBB v4.3 + New Features

QGraphicsView free camera

Scheduled Pinned Locked Moved Solved Qt for Python
pyside
3 Posts 2 Posters 357 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.
  • F Offline
    F Offline
    Fridreg
    wrote on last edited by
    #1

    I have a QGraphicsView window with a scene with size of a few thousand pixels. I use DragMode.ScrollHandDrag to move around the scene. According to my idea I want to make it possible for the user to inspect the area outside the scene boundary.
    Can I do something like this?

    I want to make a kind of workspace similar to programs like figma or draw.io

    M 1 Reply Last reply
    0
    • F Fridreg

      I have a QGraphicsView window with a scene with size of a few thousand pixels. I use DragMode.ScrollHandDrag to move around the scene. According to my idea I want to make it possible for the user to inspect the area outside the scene boundary.
      Can I do something like this?

      I want to make a kind of workspace similar to programs like figma or draw.io

      M Offline
      M Offline
      Munter
      wrote on last edited by
      #2

      @Fridreg said in QGraphicsView free camera house of hazards :

      I have a QGraphicsView window with a scene with size of a few thousand pixels. I use DragMode.ScrollHandDrag to move around the scene. According to my idea I want to make it possible for the user to inspect the area outside the scene boundary.
      Can I do something like this?
      I want to make a kind of workspace similar to programs like figma or draw.io

      Yes, you can achieve the desired behavior of allowing users to inspect the area outside the scene boundary in your QGraphicsView window. To do this, you'll need to implement a custom viewport that extends the visible area beyond the scene's bounds.

      F 1 Reply Last reply
      0
      • M Munter

        @Fridreg said in QGraphicsView free camera house of hazards :

        I have a QGraphicsView window with a scene with size of a few thousand pixels. I use DragMode.ScrollHandDrag to move around the scene. According to my idea I want to make it possible for the user to inspect the area outside the scene boundary.
        Can I do something like this?
        I want to make a kind of workspace similar to programs like figma or draw.io

        Yes, you can achieve the desired behavior of allowing users to inspect the area outside the scene boundary in your QGraphicsView window. To do this, you'll need to implement a custom viewport that extends the visible area beyond the scene's bounds.

        F Offline
        F Offline
        Fridreg
        wrote on last edited by
        #3

        @Munter Thank you for your reply. Can I ask specifically in what direction I should go, what can I use to create a custom viewport?

        1 Reply Last reply
        0
        • F Fridreg has marked this topic as solved on

        • Login

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