but = QtGui.QPushButton(view) self.scene.addWidget(but)
"QGraphicsProxyWidget::setWidget: cannot embed widget 0x1fa8a20 which is not a toplevel widget, and is not a child of an embedded widget"
помогите пожалуйста
but = QtGui.QPushButton(view) self.scene.addWidget(but)
"QGraphicsProxyWidget::setWidget: cannot embed widget 0x1fa8a20 which is not a toplevel widget, and is not a child of an embedded widget"