-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainwindow.h
64 lines (34 loc) · 905 Bytes
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow {
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow() override;
private slots:
void on_plus_clicked();
void on_subtract_clicked();
void on_multiply_clicked();
void on_divide_clicked();
void on_dot_clicked();
void on_allClear_clicked();
void on_evalAnswer_clicked();
void on_num0_clicked();
void on_num1_clicked();
void on_num2_clicked();
void on_num3_clicked();
void on_num4_clicked();
void on_num5_clicked();
void on_num6_clicked();
void on_num7_clicked();
void on_num8_clicked();
void on_num9_clicked();
void on_remainder_clicked();
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H