Sep-06-2019, 10:38 PM
(Sep-06-2019, 09:07 PM)alandmoore Wrote:(Sep-06-2019, 05:20 PM)Axel_Erfurt Wrote: Also when using super( ) you need to do the following:
class lineEdit(QtWidgets.QLineEdit):
def __init__(self, parent):
super(lineEdit, self).__init__()
I was of the impression that this should not be necessary in Python 3. Can you explain why it should be done?
I did not wrote it. In my code I wrote
class lineEdit(QtWidgets.QLineEdit): def __init__(self, parent): super().__init__(parent)