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. How to make a 200 X 300 drawable region using Graphics-View-Framework classes (QGraphicsView and QGraphicsScene)
Forum Updated to NodeBB v4.3 + New Features

How to make a 200 X 300 drawable region using Graphics-View-Framework classes (QGraphicsView and QGraphicsScene)

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

    I'm trying to build a software that can help user design animations, by importing images but the issue is i don't want to use entire window as my canvas, but rather a specific constant size, say 200 X 300 for each frame. User can import images and place them in this 200 X 300 Rectangular view , if any image is out of this view, it should simply be ignored , and otherwise if some portion of image is inside the 200X300 rectangular region, only that amount of portion should be rendered while exporting a frame as an image. How can i implement this , I have read documentation however it would be better if i could get some visual representation or diagram/illustrations that can help me understand QGraphicsView and QGraphicsScene intuitively.

    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