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. hi-res zoom in pixmap in qproxywidget
Forum Updated to NodeBB v4.3 + New Features

hi-res zoom in pixmap in qproxywidget

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

    I have a qgraphicsview with a scene that contains qgraphicsproxywidget. The widget currently shows some small images about 25x25 via QPixmap, as described http://stackoverflow.com/questions/35283940/how-to-support-high-res-pixmap-in-qgraphicsproxywidget-when-zooming.

    I'm looking for the proper approach to supporting zooming in on the widget, without deterioratign the pixmap resolution so much. I'm finding hints that it should be possible by overriding the paint method (ie derive from QPixmap then override paint method), or of having to QImage, or some configuration options (I have tried setSmoothRendering on the QGraphicsView but this only helps a little), but it's not clear if these techniques apply here or if they are only when the pixmap is not in a proxy widget.

    Any help on this would be really appreciated.

    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