摘要: 定时器方式一: 定时器事件 需要 #include <QTimerEvent> #include "win.h" #include <QDebug> #include <QPushButton> Win::Win(QWidget *parent) : QWidget(parent) { this-> 阅读全文
posted @ 2019-09-19 16:32 天子骄龙 阅读(1287) 评论(0) 推荐(0)
摘要: 需要 #include <QLabel> qmake: QT += widgets Inherits: QFrame QLabel 类是 QFrame 类的直接子类,因此 QLabel 可以使用从 QFrame 类继承而来的边框效果 可用于显示纯文本、富文本、电影、图像等 QLabel 会试图猜测输 阅读全文
posted @ 2019-09-19 06:54 天子骄龙 阅读(2537) 评论(0) 推荐(0)