검색결과 리스트
QPainter에 해당되는 글 1건
- 2018.09.27 draw filled ellipse by QPainter at QT
just simple
example function : drawFooterArea(QPainter *painter, const QRect& rect, const QSqlRecord& record) const
1 set pen / brush the color you want
painter->setPen(Qt::red);
painter->setBrush(Qt::red);
2. draw Ellipse
painter->drawEllipse(rect);
if you don't set brush, just show circle line
RECENT COMMENT