摘要: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 design%在用QT进行用户界面开发时,由于其没有内置的图形窗体控件,使得开发者在进行数据图形化界面的开发时需要编写大量代码,这样降低了开发效率。针对这一问题,利用双缓冲技术以及QT的事件机制,设计了一个绘图通用类,它能够实现基本的绘图功能以及多样的图形数据分析方式。目前该方法已经应用在航电仿真系统的RS422总线监控软件以及数据记录软件中。