View only part of image in QPixmap

  • Hi,

    I have an image that's 280px by 75px and it can be split in 4 parts... what I wanna do is have a QPixmap that's 70px by 75px and dynamically slide the image to only see the part that I wanna see while the rest of the image is clipped... how can I do that??

  • Lifetime Qt Champion

    not 100% sure how it must look when you slide,
    but have you tried a scroll area with a QLabel inside?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.