def closeEvent(self, event):
# ????,??????
with open("pos.dat", "wb") as fp:
pickle.dump(cache.globalPos, fp)
QApplication.instance().quit()
# return QWidget.closeEvent(self, event)
# def eventFilter(self, s, e):
# print(s, e)
# if s == self.headLabel and e.type() == QEvent.Enter:
# t = ToolTip(self, "?oo???o?", "resources/icon.ico", "", "data/head/1.png" "data/head/2.png" "data/head/3.png").show(s, self.frameGeometry().topLeft().x(), e.globalPos().y(), self.width(), self.dheight)
# t.move(938, 120)
# t.show()
# return super(Ucics, self).eventFilter(s, e)
# ??????
评论列表
文章目录