scribble.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:pyqt5-example 作者: guinslym 项目源码 文件源码
def __init__(self, parent=None):
        super(ScribbleArea, self).__init__(parent)

        self.setAttribute(Qt.WA_StaticContents)
        self.modified = False
        self.scribbling = False
        self.myPenWidth = 1
        self.myPenColor = Qt.blue
        self.image = QImage()
        self.lastPoint = QPoint()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号