Results 1 to 2 of 2

Thread: how to display one image on centre of another image?

  1. #1
    Join Date
    Aug 2011
    Posts
    1
    Qt products
    Qt4

    Default how to display one image on centre of another image?

    hi
    can any one tel how to show an image on the centre of another image on mouse click?
    Last edited by lekshmi; 24th August 2011 at 13:11.

  2. #2
    Join Date
    Jun 2011
    Location
    Finland
    Posts
    164
    Thanks
    1
    Thanked 26 Times in 26 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo

    Default Re: how to display one image on centre of another image?

    To handle mouse click you just reimplement
    Qt Code:
    1. void QWidget::mousePressEvent ( QMouseEvent * event )
    To copy to clipboard, switch view to plain text mode 
    .
    There are however many different ways of displaying one image on top of another. So please describe your case more and maybe we can then help you. On the other hand, Qt Assistant is a great help for beginners.
    Don't write a post just to thank someone, use "Thanks" button.

Similar Threads

  1. Qt Image Display...
    By mahe2310 in forum Qt Programming
    Replies: 9
    Last Post: 22nd July 2013, 09:06
  2. display image and get coordinates
    By ready in forum Newbie
    Replies: 9
    Last Post: 21st March 2011, 12:46
  3. How to Display the image in Qt
    By sdastagirmca in forum Qt Programming
    Replies: 1
    Last Post: 10th February 2009, 06:17
  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

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.