摘要: #ifndef WIDGET_H #define WIDGET_H #include <QWidget> QT_BEGIN_NAMESPACE namespace Ui { class Widget; } QT_END_NAMESPACE class Widget : public QWidget 阅读全文
posted @ 2022-08-01 22:06 thomas_blog 阅读(21) 评论(0) 推荐(0) 编辑
摘要: #include "widget.h" #include "ui_widget.h" #include <QDebug> Widget::Widget(QWidget *parent) : QWidget(parent) , ui(new Ui::Widget) { ui->setupUi(this 阅读全文
posted @ 2022-08-01 20:46 thomas_blog 阅读(67) 评论(0) 推荐(0) 编辑
摘要: #include "widget.h" #include "ui_widget.h" #include "mypushbutton.h" Widget::Widget(QWidget *parent) : QWidget(parent) , ui(new Ui::Widget) { ui->setu 阅读全文
posted @ 2022-08-01 18:52 thomas_blog 阅读(18) 评论(0) 推荐(0) 编辑