Python, pyqt calls the local module as the parent class, and running the child class shows that the parent class does not have setobjectname
編輯:Python
AttributeError: 'uilogin' object has no attribute 'setObjectName' uilogin Call the local module as the parent class for the main module , An error message indicates that the parent class cannot be defined .