-
Notifications
You must be signed in to change notification settings - Fork 0
/
matrixbuttons.h
50 lines (32 loc) · 852 Bytes
/
matrixbuttons.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
45
46
47
48
49
50
#ifndef MATRIXBUTTONS_H
#define MATRIXBUTTONS_H
#include "matrix.h"
#include "matrixwidget.h"
#include <QWidget>
namespace Ui {
class MatrixButtons;
}
class MatrixButtons : public QWidget
{
Q_OBJECT
public:
explicit MatrixButtons(MatrixWidget &matrix, Matrix &lastMatrix, QWidget *parent = nullptr);
~MatrixButtons();
private slots:
void on_calcDetBtn_clicked();
void on_calcAlgAddBtn_clicked();
void on_transposeBtn_clicked();
void on_reverseBtn_clicked();
void on_delRowBtn_clicked();
void on_delColBtn_clicked();
void on_backBtn_clicked();
void on_swapColsBtn_clicked();
void on_swapRowsBtn_clicked();
void on_addRowBtn_clicked();
void on_addColBtn_clicked();
private:
Ui::MatrixButtons *ui;
MatrixWidget *matrix;
Matrix *lastMatrix;
};
#endif // MATRIXBUTTONS_H