forked from alankzh/MNavigation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
39 lines (32 loc) · 1.01 KB
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef INITIAL_OPENGL
#define INITIAL_OPENGL
#include <vtkAutoInit.h>
VTK_MODULE_INIT(vtkRenderingOpenGL)
VTK_MODULE_INIT(vtkInteractionStyle)
VTK_MODULE_INIT(vtkRenderingVolumeOpenGL)
VTK_MODULE_INIT(vtkRenderingFreeType)
#endif
#include <QApplication>
#include "mainwindow.h"
#include "RenderPropertyGenerator.h"
#include "newui.h"
#include <vtkOutputWindow.h>
#include <QDesktopWidget>
#include <QDebug>
#include "customWidgets/dirlistitemwidget.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
vtkOutputWindow::GlobalWarningDisplayOff();
RenderPropertyGenerator::LoadPresets();
RenderPropertyGenerator::SavePresetsToLocal();
// MainWindow w;
// w.show();
NewUi u;
u.show();
// DirListItemWidget d(1);
// DirBean bean(QString::fromLocal8Bit("namssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssse"),QString::fromLocal8Bit("path"),QString::fromLocal8Bit("date"),QString::fromLocal8Bit("time"));
// d.loadData(bean);
// d.show();
return a.exec();
}