标签:rect etc inter att pattern span red col 颜色
Qt QPainter QBrush 填充区域
QBrush brush; brush.setColor(Qt::red);//设置颜色 brush.setStyle(Qt::SolidPattern); painter.setBrush(brush); painter.drawRect(rect3_x,rect3_y,200,200);//绘制矩形
############################
标签:rect etc inter att pattern span red col 颜色
原文地址:https://www.cnblogs.com/herd/p/14726411.html