You can use QPixmap::fromImage( it is static in QPixmap) to obtain a QPixmap. But this approach is usually expensive.
It is better to subclass QLabel and override it's paint event and draw the QImage in there. via QPainter::drawImage().
You can use QPixmap::fromImage( it is static in QPixmap) to obtain a QPixmap. But this approach is usually expensive.
It is better to subclass QLabel and override it's paint event and draw the QImage in there. via QPainter::drawImage().
tommy (3rd December 2007)
Bookmarks