blob: 5798d55e6747bdec31a5580165faeb87f3bb1246 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "lsmainwindow.h"
LSMainWindow::LSMainWindow(QWidget *parent) : QMainWindow(parent) {
ui.setupUi(this);
}
void LSMainWindow::changeEvent(QEvent *e) {
QMainWindow::changeEvent(e);
switch (e->type()) {
case QEvent::LanguageChange:
ui.retranslateUi(this);
break;
default:
break;
}
}
|