diff options
author | Treeki <treeki@gmail.com> | 2010-10-07 15:56:13 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2010-10-07 15:56:13 +0200 |
commit | 5f6dad55d75cbe146ff7fefc899a02ccd39078ba (patch) | |
tree | 0822df14cc6d2c0329810c9ae7b4a4a638fe82b1 /lsmainwindow.cpp | |
download | LayoutStudio-5f6dad55d75cbe146ff7fefc899a02ccd39078ba.tar.gz LayoutStudio-5f6dad55d75cbe146ff7fefc899a02ccd39078ba.zip |
initial commit -- everything compiles except for material.cpp. the material system still needs quite a bit of work; this will come in due time
Diffstat (limited to '')
-rw-r--r-- | lsmainwindow.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lsmainwindow.cpp b/lsmainwindow.cpp new file mode 100644 index 0000000..5798d55 --- /dev/null +++ b/lsmainwindow.cpp @@ -0,0 +1,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; + } +} |