#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();
        void replaceStrings();
    private:
        void setCombo();
        QString m_resources;
        QString m_codec;
        QString m_police;
        QString m_pointsize;
        QString m_weight;
        QHash<int,QString> m_hashIntFiles;
};

#endif

