本文实例为大家分享了Qt实现简易时钟展示的具体代码,供大家参考,具体内容如下
一、效果展示
简单实现时钟(圆盘+QLCDNumber),大小刻度,数字等。
二、实现
.pro
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact wa