Fraxinus
18.10
An IGT application
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
cxMemoryTesterMain.cpp
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
#include <string>
12
#include <QApplication>
13
#include "
cxMemoryTester.h
"
14
17
int
main
(
int
argc,
char
**argv)
18
{
19
//Q_INIT_RESOURCE(resource); // seems to be uneccesary... need if rc in a lib.
20
21
QApplication app(argc, argv);
22
app.setAttribute(Qt::AA_DontShowIconsInMenus,
false
);
23
// app.setWindowIcon(QIcon(":/images/exec.png"));
24
app.setWindowIcon(QIcon(
":/images/application.png"
));
25
26
cx::MemoryTester
mainWindow;
27
mainWindow.show();
28
mainWindow.activateWindow();
29
mainWindow.raise();
30
31
int
val = app.exec();
32
return
val;
33
}
cx::MemoryTester
Definition:
cxMemoryTester.h:42
cxMemoryTester.h
main
int main(int argc, char **argv)
Definition:
cxMemoryTesterMain.cpp:17
CX
source
apps
MemoryTester
cxMemoryTesterMain.cpp
Generated on Fri Oct 19 2018 15:18:53 for Fraxinus by
1.8.11