PDA

View Full Version : Selecting a part of an image



haris_91
20th January 2015, 10:49
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 ...!!!!!!!!!!!

ChrisW67
21st January 2015, 11:04
QImage::copy() looks promising.