def runwid(text):
w=QtGui.QWidget()
w.setStyleSheet("QLabel { color: rgb(255, 0, 0); font-size: 20px; background-color: rgba(255, 255, 100, 100); border: 1px solid rgba(188, 188, 188, 250); }")
w.setGeometry(800, 400, 10, 10)
box = QtGui.QVBoxLayout()
w.setLayout(box)
w.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)
l=QtGui.QLabel(text)
box.addWidget(l)
return w
评论列表
文章目录