Is your problem with cropping itself or with marking the area for cropping?
Is your problem with cropping itself or with marking the area for cropping?
Hello wyosta :- Its with giving a seperate window where the initial image is loaded and the area is marked using mouse. Sorry for the late reply.
You should know how to open a new window and load the image into it. As for marking the area, reimplement mousePressEvent(), mouseMoveEvent() and mouseRelease() event to let the user mark two points (one using mouse press, the other using mouse move and release) and reimplement paintEvent() to draw the rubber band between those two points. Alternatively use QRubberBand class with those mouse events.
akshaysulakhe (13th August 2013)
Thanks, that helped to atleast understand what to do.
Bookmarks