hello
I have edit a Qt application using QGraphicsView / QGraphicScene and it's consume a lot of cpu (60%).
my classes are a custom QGraphicsView / QGraphicScene and Reimplemented
QGraphicsView::drawforeground(QPainter* ptPainter, const QRectF& tRectToDraw)
To copy to clipboard, switch view to plain text mode
and
QGraphicsView::drawbackground(QPainter* ptPainter, const QRectF& tRectToDraw)
To copy to clipboard, switch view to plain text mode
used for drawing some statics items.
and i think thats methods causes the big consume of cpu.
my question is how can i optimise my application and reducing cpu consume.
thanx in advance.
Bookmarks