19 Star 377 Fork 80

ibc-dabing / Landlords

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
countdown.h 461 Bytes
一键复制 编辑 原始数据 按行查看 历史
kevin 提交于 2021-12-07 23:24 . add file
#ifndef COUNTDOWN_H
#define COUNTDOWN_H
#include <QTimer>
#include <QWidget>
class CountDown : public QWidget
{
Q_OBJECT
public:
explicit CountDown(QWidget *parent = nullptr);
void showCountDown();
void stopCountDown();
signals:
void notMuchTime();
void timeout();
protected:
void paintEvent(QPaintEvent* ev);
private:
QPixmap m_clock;
QPixmap m_number;
QTimer* m_timer;
int m_count;
};
#endif // COUNTDOWN_H
1
https://gitee.com/subingwen/landlords.git
git@gitee.com:subingwen/landlords.git
subingwen
landlords
Landlords
master

搜索帮助