Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi, I draw a painterpath of ellipse shape. How can I convert it to QPixmapItem?
Hi what about just drawing it a pixmap directly? int h = ui->label->height(); int w = ui->label->width(); QPixmap pix(w, h); QPainter paint(&pix); pix.fill( Qt::white ); // painter path paint.end();
Then you have pixmap and can make item.
@mrjj
Thank you. That could do the job.