4 #include "ui_imageviewer.h"
10 class ImageViewer : public QDialog, public Ui_ImageViewer
14 ImageViewer(QWidget *parent = 0);
16 void setImage(const QImage &image);
18 QSize sizeHint() const;
21 void resizeEvent(QResizeEvent *event);
25 void showPixel(int, int);
26 void showGrid(const QRect &rect);
31 PixelWidget *m_pixelWidget;