Solution. In order to embed a widget, e.g. QPushButton, in your subclass of QGraphicsWidget use QGraphicsProxyWidget like this:
確定! 回上一頁