Category "pyside2"

Wrong method template for PySide2.QtCore.QAbstractItemModel.parent(): where is the problem?

I am trying to implement a subclass of QAbstractItemModel using PySide2. The signature of the parent method is virtual QModelIndex parent(const QModelIndex &

How to pass __init__ arguments to class registered with qmlRegisterType?

Is it possible to pass init arguments to a python class registered to QML using the qmlRegisterType function? If so, would they be passed when the class is inst

How tracking curve parameter changes via the toolbar?

I have a GUI application written in qt (pyside2) that has realtime plotting using matplotlib. Is there any way to track changes in curve parameters via matplotl

QLabel with image in round shape

I want to display image with round shape in PyQt5/PySide2 application. Below is the code i tried. self.statusWidget = QLabel() img = QImage(":/image.jpg").scale