SHARE
TWEET

Untitled

a guest Feb 27th, 2020 167 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from PyQt5 import QtWidgets, uic
  2.  
  3. class Main(QtWidgets.QWidget):
  4.     def __init__(self):
  5.         super().__init__()
  6.         uic.loadUi('ui/main.ui', self)
  7.         self.aggiungiAscoltatori()
  8.         self.show()
  9.  
  10.     def aggiungiAscoltatori(self):
  11.         self.pushButton.clicked.connect(lambda: self.avvia(True))
  12.         self.pushButton_2.clicked.connect(lambda: self.avvia(False))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top