title: How to display variable in qmessagebox using creator in pyqt5
body: <p>I am trying to display a variable with some message in qmessagebox using creator. I found similar post here: <a href="https://stackoverflow.com/questions/22139023/pyqt-variable-values-in-qmessagebox-output">pyqt: Variable values in QMessageBox output?</a> but it does not work within the creator. Any suggestions how to amend the code below so that it worked?:</p>
  
  <pre><code>purchaseValue = col2SumUp.sum()
  msgbox = QMessageBox(QMessageBox.Information, "Value: %s" % purchaseValue, QMessageBox.Ok)
  </code></pre>