QtGui module. So updated code: wid = QtWidgets.QWidget(self) self.setCentralWidget(wid) layout = QtWidgets.QVBoxLayout() wid.setLayout(layout) ...
確定! 回上一頁