Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

connect two mathod to the same button in pyq5

self.trainPreproBtn.clicked.connect(self.connectionFunction)

@pyqtSlot()
def connectionFunction(self):
    self.firstFunction()
    self.secondFunction()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #connect #mathod #button
ADD COMMENT
Topic
Name
8+3 =