-
Notifications
You must be signed in to change notification settings - Fork 0
/
visual.h
38 lines (30 loc) · 1.01 KB
/
visual.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
#ifndef VISUAL_H
#define VISUAL_H
#include <QDialog>
#include <vector>
namespace Ui {
class visual;
}
class visual : public QDialog
{
Q_OBJECT
public:
explicit visual(QWidget *parent = nullptr);
~visual();
private slots:
void on_ok_clicked();
void on_swish_clicked();
private:
Ui::visual *ui;
std::vector<std::vector<int>> MultiplyMatrix(std::vector<std::vector<int>> Matrix1, std::vector<std::vector<int>> Matrix2);
std::vector<std::vector<int>> SumMatrix(std::vector<std::vector<int>> Matrix1, std::vector<std::vector<int>> Matrix2);
std::vector<std::vector<int>> MinusMatrix(std::vector<std::vector<int>> Matrix1, std::vector<std::vector<int>> Matrix2);
void ShowMatrix(std::vector<std::vector<int>> Matrix, int n);
void ClearScreen();
void mousePressEvent(QMouseEvent *event);
void mouseMoveEvent(QMouseEvent *event);
int m_nMouseClick_X_Coordinate;
int m_nMouseClick_Y_Coordinate;
void animate();
};
#endif // VISUAL_H