title: Best QWidget or item to use to display a variable in a box
body: <p>I would like to ask which QWidget or which Qt GUI item would be best to use to display a variable that will change during the lifecycle of the program, in a box. The image gives a description of what I need. I want to place that box several times on my MainWindow.</p>
  <p><a href="https://i.stack.imgur.com/tfbIq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tfbIq.png" alt="enter image description here" /></a></p>
  <p>I have tried QRectItem but then I was unable to display the text using a label because the label is a QWidget. Thank you in advance.</p>