src/main.cpp

changeset 264
76a025db4948
parent 263
59b6027b9843
child 268
fb319526ba6c
equal deleted inserted replaced
263:59b6027b9843 264:76a025db4948
1 #include <QApplication> 1 #include <QApplication>
2 #include <QCloseEvent>
2 #include <QFileDialog> 3 #include <QFileDialog>
4 #include <QMdiSubWindow>
3 #include <QMessageBox> 5 #include <QMessageBox>
4 #include <QMdiSubWindow>
5 #include <QScrollBar> 6 #include <QScrollBar>
6 #include <QStackedWidget> 7 #include <QStackedWidget>
7 #include <QCloseEvent> 8 #include <QTranslator>
8 #include "mainwindow.h" 9 #include <ui_mainwindow.h>
9 #include "ui_mainwindow.h" 10 #include "src/gl/partrenderer.h"
10 #include "version.h" 11 #include "src/layers/axeslayer.h"
11 #include "gl/partrenderer.h" 12 #include "src/layers/edittools.h"
12 #include "layers/axeslayer.h" 13 #include "src/layers/gridlayer.h"
13 #include "layers/gridlayer.h" 14 #include "src/ldrawalgorithm.h"
14 #include "layers/edittools.h" 15 #include "src/messagelog.h"
15 #include "settingseditor/settingseditor.h" 16 #include "src/settings.h"
16 #include "widgets/colorselectdialog.h" 17 #include "src/settingseditor/settingseditor.h"
17 #include "settings.h" 18 #include "src/ui/circletooloptionswidget.h"
18 #include "ui/circletooloptionswidget.h" 19 #include "src/ui/objecteditor.h"
19 #include "messagelog.h" 20 #include "src/version.h"
20 #include "ui/objecteditor.h" 21 #include "src/widgets/colorselectdialog.h"
21 #include "ldrawalgorithm.h"
22 22
23 static const QDir LOCALE_DIR {":/locale"}; 23 static const QDir LOCALE_DIR {":/locale"};
24 24
25 class ModelSubWindow : public QMdiSubWindow 25 class ModelSubWindow : public QMdiSubWindow
26 { 26 {
63 Q_EMIT this->triggered(); 63 Q_EMIT this->triggered();
64 } 64 }
65 Q_SIGNALS: 65 Q_SIGNALS:
66 void triggered(); 66 void triggered();
67 }; 67 };
68 #include "main.moc" 68 #include <main.moc>
69 69
70 static void doQtRegistrations() 70 static void doQtRegistrations()
71 { 71 {
72 QCoreApplication::setApplicationName(::appName); 72 QCoreApplication::setApplicationName(::appName);
73 QCoreApplication::setOrganizationName("hecknology.net"); 73 QCoreApplication::setOrganizationName("hecknology.net");

mercurial