Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/ElmerGUItester/src/tester.h
3203 views
1
#ifndef TESTER_H
2
#define TESTER_H
3
4
#include <QtGui>
5
#include "ui_mainform.h"
6
7
class Tester : public QWidget
8
{
9
Q_OBJECT
10
11
public:
12
Tester(QWidget *parent = 0);
13
void testEnvironment();
14
void testExecutables();
15
void verdict();
16
17
private:
18
QString get(const QString &variable) const;
19
bool testDir(const QString &variable, QLabel *label) const;
20
bool testFile(const QString &value, QLabel *label) const;
21
bool testPath(const QString &value, QLabel *label) const;
22
bool testLdLibraryPath(const QString &value, QLabel *label) const;
23
void testSolver();
24
void testPost();
25
void testGrid();
26
void testTetgen();
27
28
Ui::mainForm ui;
29
QString elmerHome;
30
QString elmerGuiHome;
31
bool ok;
32
QTextEdit *e;
33
};
34
35
#endif // TESTER_H
36
37