WatchdogView.cc 453 Bytes
Newer Older
pixhawk's avatar
pixhawk committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#include "WatchdogView.h"
#include "ui_WatchdogView.h"

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

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

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