paint.py 文件源码

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

项目:VIRTUAL-PHONE 作者: SumanKanrar-IEM 项目源码 文件源码
def initUI(self):
        self.setWindowTitle(self.title)
        self.setGeometry(self.left, self.top, self.width, self.height)

        # Set window background color
        self.setAutoFillBackground(True)
        p = self.palette()
        p.setColor(self.backgroundRole(), Qt.white)
        self.setPalette(p)

        # Add paint widget and paint
        self.m = PaintWidget(self)
        self.m.move(0,0)
        self.m.resize(self.width,self.height)

        self.show()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号