Zack Rusin | 5cb6b87 | 2011-04-10 02:19:59 -0400 | [diff] [blame] | 1 | #ifndef IMAGEVIEWER_H |
2 | #define IMAGEVIEWER_H | ||||
3 | |||||
4 | #include "ui_imageviewer.h" | ||||
5 | #include <QDialog> | ||||
6 | |||||
7 | class ImageViewer : public QDialog, public Ui_ImageViewer | ||||
8 | { | ||||
9 | Q_OBJECT | ||||
10 | public: | ||||
11 | ImageViewer(QWidget *parent = 0); | ||||
12 | |||||
13 | void setImage(const QImage &image); | ||||
Zack Rusin | 2ffe9f8 | 2011-09-23 20:25:47 -0400 | [diff] [blame^] | 14 | |
15 | QSize sizeHint() const; | ||||
16 | private: | ||||
17 | QImage m_image; | ||||
Zack Rusin | 5cb6b87 | 2011-04-10 02:19:59 -0400 | [diff] [blame] | 18 | }; |
19 | |||||
20 | |||||
21 | #endif |