Qt 在圆形中贴图片
摘要:
void Widget::paintEvent(QPaintEvent *){ QPainter p(this); QPixmap pix(":/images/a.jpg"); p.setBrush(QBrush(pix)); p.drawEllipse(10,20,250,250);} 阅读全文
posted @ 2013-12-02 16:57 百里孤坟 阅读(531) 评论(1) 推荐(0) 编辑
posted @ 2013-12-02 16:57 百里孤坟 阅读(531) 评论(1) 推荐(0) 编辑