#include "previewwidget.h"
#include "ui_previewwidget.h"

previewwidget::previewwidget(QWidget *parent) :
    QWidget(parent),
    m_ui(new Ui::previewwidget)
{
    m_ui->setupUi(this);
}

previewwidget::~previewwidget()
{
    delete m_ui;
}

void previewwidget::changeEvent(QEvent *e)
{
    QWidget::changeEvent(e);
    switch (e->type()) {
    case QEvent::LanguageChange:
        m_ui->retranslateUi(this);
        break;
    default:
        break;
    }
}
