Results 1 to 1 of 1

Thread: Display part of image on a smaller QGraphicsItem

  1. #1
    Join Date
    Oct 2010
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Thumbs up Display part of image on a smaller QGraphicsItem

    Hi,

    I want to display an image on a smaller QGraphicsItem which has scrollbar.
    While scrolling I am supposed to scroll the image.
    But though the QGraphicsItem is samller and it is parent item of the image(QGraphicsPixmapItem), it is displaying the whole image.

    Please find attached source code and snapshot.

    Waiting for your help.

    -Biplab
    Attached Images Attached Images
    Attached Files Attached Files

Similar Threads

  1. Qt Image Display...
    By mahe2310 in forum Qt Programming
    Replies: 9
    Last Post: 22nd July 2013, 09:06
  2. How to Display the image in Qt
    By sdastagirmca in forum Qt Programming
    Replies: 1
    Last Post: 10th February 2009, 06:17
  3. Display image fullscreen, the best way?
    By Hmail01 in forum Qt Programming
    Replies: 3
    Last Post: 26th July 2008, 23:00
  4. Image display
    By bmn in forum Qt Programming
    Replies: 1
    Last Post: 5th June 2008, 13:52
  5. Display image
    By Pesho in forum Qt Programming
    Replies: 1
    Last Post: 14th September 2007, 00:21

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.