首页 | 本学科首页   官方微博 | 高级检索  
     

基于Linux Qt的列车显示器表盘控件设计与实现
引用本文:周忠洋,李意,王元东. 基于Linux Qt的列车显示器表盘控件设计与实现[J]. 内燃机与配件, 2021, 0(4): 23-25
作者姓名:周忠洋  李意  王元东
作者单位:中车青岛四方机车车辆股份有限公司技术中心网络技术开发部,青岛266100;中车青岛四方机车车辆股份有限公司技术中心网络技术开发部,青岛266100;中车青岛四方机车车辆股份有限公司技术中心网络技术开发部,青岛266100
摘    要:为提高开发效率,降低列车显示器软件开发成本,本文设计了一种基于Linux Qt平台的显示器表盘控件.在Qt4开发环境下,通过继承QWidget类,将QLinearGradient类、QPainter类、QLabel类等结合,经过坐标变换及旋转函数,重新实现paintEvent函数,实现此表盘控件.经过实际项目验证,该控...

关 键 词:Qt框架  表盘控件类  C++  Linux系统  人机界面

Design and Implementation of Train Montor Dial Control Based on Linux Qt
ZHOU Zhong-yang,LI Yi,WANG Yuan-dong. Design and Implementation of Train Montor Dial Control Based on Linux Qt[J]. Internal Combustion Engine & Parts, 2021, 0(4): 23-25
Authors:ZHOU Zhong-yang  LI Yi  WANG Yuan-dong
Affiliation:(CRRC Qingdao Sifang Co.,Ltd.Technology Center.Network Technology Development Department,Qingdao 266100,China)
Abstract:In order to improve the development efficiency and reduce the development cost of train display software,this paper designs a display dial control based on Linux Qt platform.In the Qt4 development environment,the QWidget class is inherited to combine the QLinearGradient class,QPainter class,QLabel class,etc.After coordinate transformation and rotation function,the paintEvent function is re-implemented to realize the dial control.Through the actual project verification,the control class is friendly in design,highly personalized,and enriches the traditional train display interface.
Keywords:Qt framework  dial control class  C++  Linux system  the man-machine interface
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号