UI
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/63449fe96d27b53fb373c3bafc034f40.png#pic_center)
代码
#include "widget.h"
#include "ui_widget.h"
#include "string"
Widget::Widget(QWidget *parent) :
QWidget(parent),
ui(new Ui::Widget)
{
ui->setupUi(this);
connect(ui->zero,SIGNAL(clicked()),this,SLOT(on_all_clicked()));
connect(ui->one,SIGNAL(clicked()),this,SLOT(on_all_clicked()));
connect(ui->two,SIGNAL(clicked()),this,SLOT(on_all_clicked()));
connect(ui->three,SIGNAL(clicked()),this,SLOT(on_all_clicked()));
connect(ui->four,SIGNAL(clicked()),this,SLOT(on_all_clicked()));
connect(ui->five,SIGNAL(clicked()),this,SLOT(on_all_clicked()));
connect(ui->six,SIGNAL(clicked()),this,SLOT(on_all_clicked()));
connect(ui->seven,SIGNAL(clicked()),this,SLOT(on_all_clicked()));
connect(ui->eight,SIGNAL(clicked()),this,SLOT(on_all_clicked()));
connect(ui->nine,SIGNAL(clicked()),this,