2021-07-05 10:45:35 -07:00
|
|
|
#ifndef VIRTUALKEYPAD_H
|
|
|
|
#define VIRTUALKEYPAD_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
2021-07-05 13:01:32 -07:00
|
|
|
#include "functions.h"
|
2021-07-05 10:45:35 -07:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class virtualkeypad;
|
|
|
|
}
|
|
|
|
|
|
|
|
class virtualkeypad : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit virtualkeypad(QWidget *parent = nullptr);
|
|
|
|
~virtualkeypad();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_n1_clicked();
|
|
|
|
void on_clearBtn_clicked();
|
|
|
|
void on_eraseBtn_clicked();
|
|
|
|
void on_n2_clicked();
|
|
|
|
void on_n3_clicked();
|
|
|
|
void on_n4_clicked();
|
|
|
|
void on_n5_clicked();
|
|
|
|
void on_n6_clicked();
|
|
|
|
void on_n7_clicked();
|
|
|
|
void on_n8_clicked();
|
|
|
|
void on_n9_clicked();
|
|
|
|
void on_n0_clicked();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::virtualkeypad *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // VIRTUALKEYPAD_H
|