1 year ago
#360305
Elle
What type of Unit measure do I obtain from a QGraphicView Class in its scene?
I have located two points in my QGraphicsView which is map to my scene(QGraphicsScene).The two points are based on the mousecliked(mousePressEvent) made by the user, these points serve as the two endpoints of a line. I obtained the distance of the line using the formula to find the distance of two points. I am not sure what unit of measurement does I obtain, is it in pixel?
python
pyqt5
qgraphicsview
qgraphicsscene
0 Answers
Your Answer