#ifndef PREVIEW_H
#define PREVIEW_H

#include "ui_preview.h"
#include <QWidget>
#include <QHash>

class Preview:public QWidget,public Ui::PreviewWidget
{
    Q_OBJECT
    public:
        Preview (QWidget * parent = 0);
        ~Preview ();
    protected slots :
        void displayFile(const QString&);
        void modifytext();
        void deletefile();
        void savefortreatment();
    private:
        void setCombo();
        QString m_resources;
        QString m_codec;
        QString m_police;
        QString m_pointsize;
        QHash<int,QString> m_hashIntFiles;
};

#endif

