forked from AlexK168/CourseProject2020
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
44 lines (36 loc) · 1 KB
/
mainwindow.h
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
40
41
42
43
44
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <tableconstructor.h>
#include <QMainWindow>
#include <QFileSystemModel>
#include <QMessageBox>
#include <QFileDialog>
#include <QJsonDocument>
#include <QJsonArray>
#include <mytablewidget.h>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
private:
Ui::MainWindow *ui;
const char* about_text = "This app uses Andrey Karpiza logs to visualize cpu pipiline.\n"
"Made by Alex Kulsha\n"
"BSUIR, group 853506";
const char* APP_NAME = "Vizualizer";
QJsonDocument document;
QVector<TableConstructor*> constructors;
void clearTable();
bool getJsonDoc();
MyTableWidget *myableWidget;
private slots:
void on_upload_log_triggered();
void on_exit_triggered();
void on_about_triggered();
};
#endif // MAINWINDOW_H