| 105 | } |
| 106 | |
| 107 | void ImageViewerWidget::ShowBitmap(const Bitmap& bitmap) { |
| 108 | ShowPixmap(QPixmap::fromImage(BitmapToQImageRGB(bitmap))); |
| 109 | } |
| 110 | |
| 111 | void ImageViewerWidget::ShowPixmap(const QPixmap& pixmap) { |
| 112 | graphics_scene_.ImagePixmapItem()->setPixmap(pixmap); |
no test coverage detected