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. How to have a movable image in PyQt that wraps one edge to the other edge when moved (similar an interactive map)?
Forum Updated to NodeBB v4.3 + New Features

How to have a movable image in PyQt that wraps one edge to the other edge when moved (similar an interactive map)?

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 238 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.
  • I Offline
    I Offline
    idbnstra
    wrote on last edited by
    #1

    I have a CSV colormap image and want it to be able to move horizontally and (similar to an interactive world map like google maps) have one side wrap back to the other side when moved, like this: wrapped CSV map.

    In other words, move the left edge back to the right edge when the left edge is moved out of frame (and of course, the same thing but in opposite directions for the right edge).

    Currently, I just I have the image displayed in a pixmap on a label. I have not yet figured out how to move the image, let alone have it wrap around like I want.

    (I also have this question posted on stack overflow if you want to answer the question there instead)

    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