PyQt5之QPen&QBrush(十九)
''''import sysfrom PyQt5.QtGui import QPen,QBrush,QPainterfrom PyQt5.QtWidgets import QApplication,QWidgetfrom PyQt5.QtCore import Qtclass DrawDemo(QWidget): def __init__(self): super(DrawDemo, self).__init__() #self.setGeometry.