PDA

View Full Version : Which widget to use for photo editing?



ayanda83
13th March 2015, 09:41
Hi everyone, I am soon to develop a piece of software that must handle a lot of photo editing and I have no clue which widget to use for the photo editing part of the software. Can it be a QGraphicsView maybe. I need to edit a photo in terms of changing the saturation, contrast, fading etc and on top of that I must be able to add text over a photo. Any help or ideas will be greatly appreciated in this regard.

thanks

wysota
13th March 2015, 09:51
Using Graphics View seems to be the best approach.

Talei
13th March 2015, 17:44
Alternatives:
1. QWidget route: QImage loadImage -> DSP -> QWidget -> override paint() -> qpainter -> drawPixmap() -> drawText()
2. High performance: OpenGL -> set IBO -> setShader -> shader for DSP -> drawText