hello how to write data to tags with qt python for loop I keep the name of the tags in the text variable please help me
def Updatelist(self, list):
value = list
Text = "Value_"
for i in range(20):
Tests = Text + str(i)
self.ui.Texts.setText(value[i])
self.ui.Texts.setText(value[i])
AttributeError: 'Ui_MainWindow' object has no attribute 'Texts'
def Updatelist(self, list):
value = list
self.ui.Value_0.setText(value[0])
The program works fine when I do it this way but I want to do it using for loop