It is very simple issue.I just draw it like this
pen.color().blue();
scene
->addEllipse
(QRectF(0,
0 ,
10 ,
10 ), pen,
QBrush(Qt
::red));
ui->graphicsView->setScene(scene);
QPen pen;
pen.color().blue();
QGraphicsScene *scene = new QGraphicsScene();
scene->addEllipse(QRectF(0,0 ,10 ,10 ), pen, QBrush(Qt::red));
ui->graphicsView->setScene(scene);
To copy to clipboard, switch view to plain text mode
NOW !!!
You MUST help me in this.
1) I want to change the point location. It is always in the same location even when I replace (0,0 ,10,10) by (168,324,10,10) for example.
2) How can I change the location of the point as (Lat, Lon),Since my background will be the map of the WORLD.
THANKS FOR ALL.
Bookmarks