PDA

View Full Version : need advice on what to use for image browser with range selection



d_dart
10th June 2014, 04:26
Hey Guys,

I need to develop a tool that essentially reads a png image (can do via QImage).
While doing that, i need to be able to select multiple ranges of columns inside the image, so i can know the distance between the two points.
that being said, I need to be able to display which pixel the cursor is looking at.
all of this being said, it needs to be zoom-able and scroll-able.

I just have no idea what to use. If i could get some pointers, it would be really appreciated

wysota
10th June 2014, 06:44
Either create a custom widget that will use mouse events for handling user input and paint event for drawing everything you need drawn or use Graphics View framework that allows object-oriented handling of drawing primitives such as images or lines.