qt实现状态指示灯——灯亮度可改变

上传者: youyou1952 | 上传时间: 2019-12-21 22:13:06 | 文件大小: 729KB | 文件类型: zip
qt实现的简易状态指示灯,灯的状态可闪烁,通过重载paintEvent来实现,可以通过自己定义状态指示变量来控制状态指示的状态。给出了qt4下实现的工程文件,可直接运行,定义了两个状态指示,大家可以根据自己的需要定义更多的状态指示。

文件下载

资源详情

[{"title":"( 26 个子文件 729KB ) qt实现状态指示灯——灯亮度可改变","children":[{"title":"qtdemo","children":[{"title":"qtdemo.pro.user <span style='color:#111;'> 17.13KB </span>","children":null,"spread":false},{"title":"widget.ui <span style='color:#111;'> 733B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 6.24KB </span>","children":null,"spread":false},{"title":"widget.cpp <span style='color:#111;'> 311B </span>","children":null,"spread":false},{"title":"vc90.pdb <span style='color:#111;'> 788.00KB </span>","children":null,"spread":false},{"title":"release","children":null,"spread":false},{"title":"Makefile.Debug <span style='color:#111;'> 6.91KB </span>","children":null,"spread":false},{"title":"debug","children":[{"title":"qtdemo.exp <span style='color:#111;'> 3.84KB </span>","children":null,"spread":false},{"title":"moc_widget.cpp <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"moc_qcw_indicatorlamp.obj <span style='color:#111;'> 47.55KB </span>","children":null,"spread":false},{"title":"qcw_indicatorlamp.obj <span style='color:#111;'> 72.57KB </span>","children":null,"spread":false},{"title":"qtdemo.intermediate.manifest <span style='color:#111;'> 878B </span>","children":null,"spread":false},{"title":"qtdemo.exe <span style='color:#111;'> 50.50KB </span>","children":null,"spread":false},{"title":"qtdemo.ilk <span style='color:#111;'> 669.43KB </span>","children":null,"spread":false},{"title":"qtdemo.pdb <span style='color:#111;'> 1.17MB </span>","children":null,"spread":false},{"title":"moc_widget.obj <span style='color:#111;'> 46.48KB </span>","children":null,"spread":false},{"title":"widget.obj <span style='color:#111;'> 80.35KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 44.85KB </span>","children":null,"spread":false},{"title":"moc_qcw_indicatorlamp.cpp <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"qtdemo.lib <span style='color:#111;'> 6.74KB </span>","children":null,"spread":false}],"spread":false},{"title":"qtdemo.pro <span style='color:#111;'> 423B </span>","children":null,"spread":false},{"title":"qcw_indicatorlamp.h <span style='color:#111;'> 540B </span>","children":null,"spread":false},{"title":"ui_widget.h <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 179B </span>","children":null,"spread":false},{"title":"Makefile.Release <span style='color:#111;'> 6.99KB </span>","children":null,"spread":false},{"title":"qcw_indicatorlamp.cpp <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"widget.h <span style='color:#111;'> 342B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明