def __init__(self, parent=None): QtWidgets.QLabel.__init__(self, parent) self.email = None self.response = None self.timeout = 0 self.imgsize = defs.medium_icon self.pixmaps = {} self.network = QtNetwork.QNetworkAccessManager() self.network.finished.connect(self.network_finished)
def __init__(self, parent=None): QtWidgets.QLabel.__init__(self, parent) self.email = None self.response = None self.timeout = 0 self.imgsize = defs.medium_icon self.pixmaps = {} self._default_pixmap_bytes = None self.network = QtNetwork.QNetworkAccessManager() # pylint: disable=no-member self.network.finished.connect(self.network_finished)