Measurement top bar like in photoshop (pixels or inches)

I have a gui with 2 tabs and I have a widget for drawing (polygons, points…etc…) I want add to this widget (I don’t know what we call it actually) maybe measurement top bar which will give me a pixels how much will be at some point like in photoshop and this image below.

So what we call it? And is there any way to embed

it in my program using python and pyqt5

Hey @moazalnoori11313 welcome to the forum.

What are you using for the widget that you’re drawing shapes in – is it a QGraphicsScene? How you could about this will depend on this.