Root/Software/sie_cg/codedialog.cpp

1#include "codedialog.h"
2#include "ui_codedialog.h"
3
4codeDialog::codeDialog(QWidget *parent) :
5    QMainWindow(parent),
6    ui(new Ui::codeDialog)
7{
8    ui->setupUi(this);
9}
10
11codeDialog::~codeDialog()
12{
13    delete ui;
14}
15
16void codeDialog::changeEvent(QEvent *e)
17{
18    QMainWindow::changeEvent(e);
19    switch (e->type()) {
20    case QEvent::LanguageChange:
21        ui->retranslateUi(this);
22        break;
23    default:
24        break;
25    }
26}
27

Archive Download this file

Branches:
master



interactive