1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-12 20:08:48 +01:00
LibrePilot/ground/OpenPilotGCS/mainwindow.cpp
dankers 488c823468 Start of GCS
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@68 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-15 13:09:13 +00:00

27 lines
463 B
C++

#include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
void MainWindow::changeEvent(QEvent *e)
{
QMainWindow::changeEvent(e);
switch (e->type()) {
case QEvent::LanguageChange:
ui->retranslateUi(this);
break;
default:
break;
}
}