-
Notifications
You must be signed in to change notification settings - Fork 0
/
QtCalc.h
52 lines (34 loc) · 895 Bytes
/
QtCalc.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
#pragma once
#include <QtWidgets/QMainWindow>
#include "ui_QtCalc.h"
// includes
#include <QClipboard>
class QtCalc : public QMainWindow
{
Q_OBJECT
public:
QtCalc(QWidget *parent = nullptr);
~QtCalc();
// write down here all our prototipes // https://doc.qt.io/qtvstools/qtvstools-qt-widgets-application.html
private slots:
// math actions
void on_plus_clicked();
void on_minus_clicked();
void on_multiply_clicked();
void on_division_clicked();
void on_modulus_clicked();
// misc actions
void on_clear_clicked();
void on_copy_clicked();
void on_as_num1_clicked();
void on_as_num2_clicked();
// menuBar
//
// menuFile
void on_actionResetSize_triggered();
// menuTheme
void on_actionDarkTheme_triggered();
void on_actionLightTheme_triggered();
private:
Ui::QtCalcClass ui;
};