AT
Size: a a a
AT
А
range(len(...))
убрать, try: ... list.index(...)
тожеtry, действительно очень глупо сделал
А
БГ
БГ
А
self.btnP.clicked.connect(self.ShowTextEdit(True))
TypeError: argument 1 has unexpected type 'NoneType'
БГ
БГ
b
self.btnP.clicked.connect(self.ShowTextEdit(True))
TypeError: argument 1 has unexpected type 'NoneType'
БГ
А
b
self.btnP.clicked.connect(self.ShowTextEdit(True))
TypeError: argument 1 has unexpected type 'NoneType'
b
self.btnP.clicked.connect(self.ShowTextEdit(True))
TypeError: argument 1 has unexpected type 'NoneType'
А
b
b
БГ
def hideTextEdits(self):
for edits in GUI.WTextEdits:
for edit in edits:
edit.hide()
def showGroup(self, group):
for widget in group:
widget.show()
def ShowTextEdit(self):
self.hideTextEdits()
target = self.sender()
for widget, editsGroup in zip(GUI.widgets[:-1], GUI.WtextEdits):
if target in widget:
self.showGroup(editsGroup)
self.ind = widget.index(target)
break
БГ
БГ
БГ