view host/ImageWindow.h @ 7:b30fcffc5000

* Better organisation of action classes; support for AND-type rules
author cannam
date Mon, 27 Nov 2006 11:03:52 +0000
parents b046af03c719
children
line wrap: on
line source
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*-  vi:set ts=8 sts=4 sw=4: */

#ifndef _IMAGE_WINDOW_H_
#define _IMAGE_WINDOW_H_

#include <QDialog>
#include <QString>

class QLabel;
class QPixmap;

class ImageWindow : public QDialog
{
    Q_OBJECT

public:
    virtual ~ImageWindow();

    static ImageWindow *getInstance();

public slots:
    void showImage(QString image);

protected:
    ImageWindow(QWidget *parent = 0);

    QString m_imageName;
    QLabel *m_label;
    QPixmap *m_pixmap;

    static ImageWindow *m_instance;
};

#endif