BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
main.cpp
Go to the documentation of this file.
1
// ************************************************************************************************
2
//
3
// BornAgain: simulate and fit reflection and scattering
4
//
5
//! @file gui2/main.cpp
6
//! @brief Implements class CLASS?
7
//!
8
//! @homepage http://www.bornagainproject.org
9
//! @license GNU General Public License v3 or higher (see COPYING)
10
//! @copyright Forschungszentrum Jülich GmbH 2020
11
//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12
//
13
// ************************************************************************************************
14
15
#include "
gui2/mainwindow/mainwindow.h
"
16
#include <QApplication>
17
#include <QLocale>
18
19
int
main
(
int
argc,
char
** argv)
20
{
21
QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates));
22
23
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
24
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
25
26
QApplication app(argc, argv);
27
28
gui2::MainWindow
win;
29
win.show();
30
31
return
app.exec();
32
}
main
int main(int argc, char *argv[])
Definition:
main.cpp:26
gui2::MainWindow
Application main window.
Definition:
mainwindow.h:34
mainwindow.h
Defines class CLASS?
gui2
main.cpp
Generated by
1.9.1