خرید بک لینک

Vote count: 0

I want to create my own class of QSpinBox and overwriting the valueChanged method to behaviour as I need adding the Qt.QueuedCoection type instead of Qt.AutoCoection

here is the code I use :

class AbstractSpinBox(QtWidgets.QSpinBox):

    def __init__(self, parent=None):
        super(AbstractSpinBox, self).__init__(parent)

    def valueChanged(self, *args, **kwargs):
        super(AbstractSpinBox, self).valueChanged(*args, **kwargs)

How can I achieve that ? Thank you very much.

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 23 خرداد 1395 ساعت: 22:07

صفحه بندی