![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
qt学习
weixin_45860016
这个作者很懒,什么都没留下…
展开
-
QT学习之漂亮的时钟秀
一效果图代码如下dialog.h#ifndef DIALOG_H#define DIALOG_H#include QT_BEGIN_NAMESPACEnamespace Ui { class Dialog; }QT_END_NAMESPACEclass Dialog : public QDialog{Q_OBJECTpublic:Dialog(QWidget *parent = nullptr);~Dialog();void draw(QPainter *painter);原创 2020-05-29 22:17:19 · 691 阅读 · 0 评论 -
QT学习之让动画人物跑起来
代码如下#include “dialog.h”#include “ui_dialog.h”#include#include#define M_PI 3.1415Dialog::Dialog(QWidget *parent)QDialog(parent), ui(new Ui::Dialog){ui->setupUi(this);resize(1024,1024);eventID1=startTimer(100);curIndex=0;Initpixmap();}D.原创 2020-05-29 21:59:31 · 1071 阅读 · 0 评论