摘要
在用QT进行用户界面开发时,由于其没有内置的图形窗体控件,使得开发者在进行数据图形化界面的开发时需要编写大量代码,这样降低了开发效率。针对这一问题,利用双缓冲技术以及QT的事件机制,设计了一个绘图通用类,它能够实现基本的绘图功能以及多样的图形数据分析方式。目前该方法已经应用在航电仿真系统的RS422总线监控软件以及数据记录软件中。
In the user interface development with QT,there is no built-in graphic form,programmers has to write lots of codes to develop forms for Data graphical display and analysis,this reduces the efficiency of development.To solve this problem,the article designed a generic drawing class by using the double buffering technology and QT event mechanism.It can achieve the basic drawing functions and a variety of graphical data analysis methods.At present the method is used in RS422 bus monitoring software and data record software in avionics simulation system.
出处
《软件导刊》
2011年第7期156-158,共3页
Software Guide