'how to use widgets in class qthread's run function
i want to get my tablewidgets in class Qthread's run() function,but i don't konw how to access the mainwindow's property like this ''' class Work3(QThread): _signal3 = pyqtSignal() def init(self): super(Work3, self).init()
def run(self):
while True:
(self.tableWidget.cellPressed.connect(self.getPosContent))
'''
how can i do this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
