Placing same image at different places in QT -


i want display same image @ different position. image should display @ position. using qpixmap placing image. can 1 suggest how it?.

you can use qlabel this:

qlist<qpoint> points = qlist<qpoint>()     << qpoint(0, 0)     << qpoint(100, 100)     << qpoint(200, 200);  qpixmap pixmap; (int = 0; < points.size(); ++i) {     qlabel* label = new qlabel;     label->setpixmap(pixmap);     label->setgeometry(qrect(points[i], pixmap.size()));     label->show(); } 

Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -