I used Qt Designer (PYQT5) to create a GUI which created the ui class. I'm trying to set the progress bar using self.ui.ProgBar.setValue(self.value) from the Main_Ui file. It works without a problem if I use .setValue(10) but if I try and use a variable I get:
QWidget::repaint: Recursive repaint detected
QBackingStore::endPaint() called with active painter on backingstore paint device
One search result says that you have to us a SLOT to set the value but I can't figure out how to do this. Can someone please give me a pointer on how to do this?