Results 1 to 2 of 2

Thread: Selecting a part of an image

  1. #1
    Join Date
    Jan 2015
    Posts
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Selecting a part of an image

    Hello. I am a beginner in Qt. I need to develop an user interface in Qt. I have loaded an image using Qlabel in Qtdesigner. My image has 8 blocks in it. Now when I select a block another corresponding image must open. Similarly I have to do it for 8 blocks.

    How do I select a part of an image and after selecting when I click it, it must open a new window with another diagram. How can I do it ?
    PLS HELP ...!!!!!!!!!!!

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Selecting a part of an image

    QImage::copy() looks promising.

Similar Threads

  1. Selecting a QLine
    By Paul Drummond in forum Qt Programming
    Replies: 6
    Last Post: 2nd September 2015, 16:30
  2. Replies: 2
    Last Post: 23rd August 2011, 12:23
  3. Display part of image on a smaller QGraphicsItem
    By biplab.project in forum Qt Programming
    Replies: 0
    Last Post: 5th January 2011, 10:03
  4. Selecting QGraphicsItems
    By SixDegrees in forum Qt Programming
    Replies: 3
    Last Post: 20th September 2010, 12:55
  5. Selecting row in QTableView
    By teS in forum Newbie
    Replies: 1
    Last Post: 15th January 2006, 11:45

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.