|
|
|
@ -230,14 +230,16 @@ class AreaTabWidget(QMainWindow):
|
|
|
|
|
deviceList.append([deviceName, areaIdList])
|
|
|
|
|
index = self.areaTabWidget.currentIndex()
|
|
|
|
|
print(self.widgetList,'fff')
|
|
|
|
|
i = 1
|
|
|
|
|
if len(self.widgetList) > 0:
|
|
|
|
|
if isinstance(self.widgetList[index][0], list):
|
|
|
|
|
widgetLists = self.widgetList[index]
|
|
|
|
|
for widgetList in widgetLists:
|
|
|
|
|
widgetList[0].setText('bbb')
|
|
|
|
|
widgetList[0].setText(str(i))
|
|
|
|
|
i += 1
|
|
|
|
|
else:
|
|
|
|
|
widgetLists = self.widgetList[index]
|
|
|
|
|
print(widgetLists)
|
|
|
|
|
|
|
|
|
|
widgetLists[0].setText('aaa')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|