例如
this_object = self.findChild(QLabel, str(i) + "-" + str(j))
this_object.setPixmap(QPixmap('resource/icon/rectangle1.png'))
或者
label_object = self.findChild(QLabel, 'label_' + str(i))
label_object.hide()
例如
this_object = self.findChild(QLabel, str(i) + "-" + str(j))
this_object.setPixmap(QPixmap('resource/icon/rectangle1.png'))
或者
label_object = self.findChild(QLabel, 'label_' + str(i))
label_object.hide()