Barış SaçıkaraВидео
mmm not sure, but something that got my attention:
- Even if addWidget takes ownership of the objects, please either make btn a class attribute, self.btn or set a parent when initializing it btn = QPushButton("Click Me", parent=self)
- Decorate the slots with the @Slot decorator