Saturday, January 16, 2010

Qt4 Image Crop Item

Just a quick break from Math, File-System and Data Structure (I'm overly busy). The example below is a simple QGraphicsItem, that allow the user to select an area on the screen, like the "crop tool" that you can see in every Image Editor. The source code is very simple, just paint() and moveEvent() handlers.


The source code is available here: Qt4 Image Crop Item Source Code.

1 comment:

  1. Wow, I want to make use of this ASAP ;-)
    Ciao and keep up the good work!

    ReplyDelete