Can I open an image in a widget and erase it? or I need to use something else to do this?
This will need understanding of mouse (events in general) and painting systems in Qt.

As a matter of fact it is possible with QWidgets, it will lot more simpler to do with QGraphicsView & QGraphicsScene (Graphics View Framework)