I have made a image viewer that can make lines over the images but if the image have high resolution the lines become small (like in the images uploaded, the cat image as big lines and the macaw image has tiny lines). Is there a way to make the lines with a fixed size regardless of the scene size?

My scene is set like:
Qt Code:
  1. item[0]->setPixmap(image.at(img)->getPixmap(0));
  2. scene[0]->setSceneRect(0, 0, item[0]->pixmap().width(), item[0]->pixmap().height());
  3. ui->graphicsView0->fitInView(item[0], Qt::KeepAspectRatio);
To copy to clipboard, switch view to plain text mode 

Attachment 10717
Attachment 10718