QGCFirmwareUpdate.cc 485 Bytes
Newer Older
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 "QGCFirmwareUpdate.h"
#include "ui_QGCFirmwareUpdate.h"

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

QGCFirmwareUpdate::~QGCFirmwareUpdate()
{
    delete ui;
}

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