如下所示:
import sys
from PyQt5 import QtGui, QtCore, QtWidgets
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
from PyQt5.QtGui import *
class showTime(QDialog):
def __init__(self):
super(showTime, self).__init__()
self.resize(500, 400)
self.setWindowTitle(label显示时间)
self.
1