Qiieha
17th January 2012, 20:58
Hi,
how can I get the QPoint of a mouseclick on a QImage? I tried to subclass QImage and implement a QMouseEvent, but this is impossible...
What can I do? If I use the subjacent widget, the QPoint doesn't match with the QImage, because I use Qt::KeepAspectRatio.
thank u
how can I get the QPoint of a mouseclick on a QImage? I tried to subclass QImage and implement a QMouseEvent, but this is impossible...
What can I do? If I use the subjacent widget, the QPoint doesn't match with the QImage, because I use Qt::KeepAspectRatio.
thank u