123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #pragma once
- #include <QtWidgets/QMainWindow>
- #include <QSettings>
- #include <vector>
- #include "ui_metavis.h"
- #include "RunData.h"
- #include "GraphView.h"
- /**
- * Main class of the GUI.
- */
- class metavis : public QMainWindow
- {
- Q_OBJECT
- public:
- metavis(QWidget *parent = Q_NULLPTR);
- ~metavis();
- GraphView* bestGraph;
- GraphView* particleGraph;
- GraphView* minMaxGraph;
- GraphView* bitField;
- private:
- Ui::metavisClass ui;
- QSettings* settings;
- std::vector<RunData> runVec;
- private:
- /* Widget functions */
- GraphView* createCustomWidget(QString titleString);
- void createBitField();
- /* Setting functions*/
- void writeActualMainWindowSettings();
- void readMainWindowSettings();
- public slots:
- /**
- * Opens the settingWindows Dialog.
- */
- void openSetting();
- /**
- * Open a logFile.
- */
- void openFile();
- };
|