self.dateEdit.setCalendarPopup(True) # 日历增加
# 日历转化位str类型begintime = self.dateEdit.dateTime().toString("yyyy/MM/dd hh:mm:ss")
本文来自博客园,作者:{archer},转载请注明原文链接:https://www.cnblogs.com/archer-mowei/p/15709666.html