Firstly: add an actual widget to your example: self.widget = QWidget(self) layout = QVBoxLayout(self) layout.addWidget(self.widget).
確定! 回上一頁