基于Qt的状态转换机制的研究
详细信息 本馆镜像全文    |  推荐本文 | | 获取馆网全文
摘要
研究了跨平台类库Qt的状态转换机制。介绍了QState类和QStateMachine类,对状态机中的历史状态、复合状态、平行状态做了详解,并给出了关键代码。在软件开发中,应用Qt状态转换机制能够简化编程过程。经过实际的软件研发,结果表明,在开发交互式应用程序和动画应用程序时应用Qt状态转换机制更能提高编程效率。
The state transition mechanism of cross-platform class library Qt is researched.The classes of QState and QStateMachine are introduced.The historical states,compound states and parallel states are recounted.The pivotal code is given.With the use of state transition mechanism of Qt,programming process can be simplified in developing software.The practical exploitation of the software shows that the use of state transition mechanism of Qt can improve the efficiency of programming while the interactive application program and animation application program are developed.
引文
[1]王爱文.Linux平台下基于Qt的电子海图的研究与实现[D].哈尔滨:哈尔滨工程大学,2004.
    [2]邓飞.基于Qt的地震资料采集质量监控及评价系统的开发与研究[D].成都:成都理工大学,2004.
    [3]许德新,谈振藩,高延滨.基于Qt组件库应用程序的生成及其跨平台实现[J].东北农业大学学报,2006,37(3):373-376.
    [4]杨少鹏.SXD/Linux通信编码仿真平台的设计与实现[D].成都:西南交通大学,2005.
    [5]蔡志明.精通Qt4编程[M].2版.北京:电子工业出版社,2011.
    [6]李艳民.基于Qt跨平台的人机交互界面的研究和应用[D].重庆:重庆大学,2007.
    [7]郑阿奇.Qt4开发实践[M].北京:电子工业出版社,2011.
    [8]聂旭中.状态机设计研究[J].洛阳师范学院学报,2009(3):62-65.
    [9]齐亮.C++GUI Qt3编程[M].北京:北京航空航天大学出版社,2006.

版权所有:© 2023 中国地质图书馆 中国地质调查局地学文献中心