WatchdogProcessView.cc 524 Bytes
Newer Older
pixhawk's avatar
pixhawk committed
1 2 3
#include "WatchdogProcessView.h"
#include "ui_WatchdogProcessView.h"

pixhawk's avatar
pixhawk committed
4
WatchdogProcessView::WatchdogProcessView(int processid, QWidget *parent) :
pixhawk's avatar
pixhawk committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
    QWidget(parent),
    m_ui(new Ui::WatchdogProcessView)
{
    m_ui->setupUi(this);
}

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

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