节点文献
基于Qt的状态转换机制的研究
Research of state transition mechanism based on Qt
【摘要】 研究了跨平台类库Qt的状态转换机制。介绍了QState类和QStateMachine类,对状态机中的历史状态、复合状态、平行状态做了详解,并给出了关键代码。在软件开发中,应用Qt状态转换机制能够简化编程过程。经过实际的软件研发,结果表明,在开发交互式应用程序和动画应用程序时应用Qt状态转换机制更能提高编程效率。
【Abstract】 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.
【Key words】 Qt; QState; state machine; state; transition mechanism; simplification of programming process;
- 【文献出处】 现代电子技术 ,Modern Electronics Technique , 编辑部邮箱 ,2013年08期
- 【分类号】TP311.11
- 【被引频次】6
- 【下载频次】30