void Widget::paintEvent(QPaintEvent *) { QPainter p(this); QPixmap pix(":/images/a.jpg"); p.setBrush(QBrush(pix)); p.drawEllipse(10,20,250,250); }
posted on 2013-12-02 16:57 百里孤坟 阅读(531) 评论(1) 编辑 收藏 举报