当前位置:网站首页>QT——LCDNumber
QT——LCDNumber
2022-07-26 11:17:00 【vhcjgc】
LCDNumber Control use

Insert LCDNumber Control 
Modify the object name 
ui->lcdTime->setDigitCount(23);
// Set display byte length
ui->lcdTime->setSegmentStyle(QLCDNumber::Flat);
// Set the display style
QDateTime realtime=QDateTime::fromString(year+"-"+month+"-"+day+"T"+hour+":"+min+":"+sec+":"+m_sec,"yyyy-MM-ddThh:mm:ss:zzz");
ui->lcdTime->display(realtime.toString("yyyy MM dd hh:mm:ss.zzz"));
// According to the content
Set the color 
Running results 
边栏推荐
猜你喜欢

A new technical director asked me to do an IP territorial function~

Can SAIC mingjue get out of the haze if its products are unable to sell and decline

SCADA and three industrial control systems PLC, DCS and FCS

MySql基础知识汇总

Connection between PLC and servo motor

Bash shell learning notes (III)

Scrapy shell出现的一个错误

产品无力销量下滑 上汽名爵还能否走出阴霾

easyui03

记录个人遇到的错误
随机推荐
3Dunity游戏项目实战——第一人称射击游戏
The combination of pytest confitest.py and fixture
Mysql database advanced
Simple use of MySQL database
MySql基础知识汇总
-bash: ./build. Sh: /bin/bash^m: bad interpreter: no that file or directory
After 4 months of job search and 15 interviews, I finally got 3 offers, ranking P7+
[报错]Exception: Found duplicate column(s) in the data schema: `value`;
公司无法访问b站
Logging advanced use
A method to deal with the crash of C Halcon user control
C#笔记
LE Audio规范概述
35. Search the insertion position
菜鸟看源码之LinkedBlockingQueue
36. [difference between const function and function]
产品无力销量下滑 上汽名爵还能否走出阴霾
MySQL learning notes
MySQL锁机制
SparseArray of the source code for novices