blob: 7ffa2da898ae1b0e96bc4dbbb46f5a302b09cf92 (
plain)
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
|
#ifndef CALCUI_H
#define CALCUI_H
#include <QWidget>
#include <QPalette>
#include <QBrush>
#include <QColor>
#include <QButtonGroup>
#include <QAbstractButton>
#include <QStringList>
#include <QMap>
QT_BEGIN_NAMESPACE
namespace Ui
{
class CalcUI;
}
QT_END_NAMESPACE
class CalcUI : public QWidget
{
Q_OBJECT
public:
CalcUI(QWidget *parent = nullptr);
~CalcUI();
private:
Ui::CalcUI *ui;
private slots:
void on_pushButton_13_clicked();
void on_pushButton_15_clicked();
void onNumsBtnClicked(QAbstractButton* btn);
};
#endif // CALCUI_H
|