summaryrefslogtreecommitdiff
path: root/gui/imageviewer.h
blob: 16bc7f2ab0b5c0f6e0e10b6955b5cb5a26fc9549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef IMAGEVIEWER_H
#define IMAGEVIEWER_H

#include "ui_imageviewer.h"
#include <QDialog>

class ImageViewer : public QDialog, public Ui_ImageViewer
{
    Q_OBJECT
public:
    ImageViewer(QWidget *parent = 0);

    void setImage(const QImage &image);

    QSize sizeHint() const;
private:
    QImage m_image;
};


#endif