官术网_书友最值得收藏!

There's more…

The state machine framework in Qt provides classes for creating and executing state graphs. Qt's event system is used to drive the state machines, where transitions between states can be triggered by using signals, and then the slots on the other end will be invoked by the signals to perform an action, such as playing an animation.

Once you understand the basics of state machines, you can use them to do other things as well. The state graph in the state machine framework is hierarchical. Just like the animation group in the previous section, states can also be nested inside of other states:

主站蜘蛛池模板: 澳门| 阿图什市| 札达县| 电白县| 桂阳县| 旬邑县| 深泽县| 红安县| 长海县| 常熟市| 温宿县| 嘉鱼县| 郧西县| 饶河县| 桃园市| 泗洪县| 寻甸| 雷州市| 同仁县| 明光市| 清镇市| 扎鲁特旗| 贞丰县| 海阳市| 乌兰县| 赤峰市| 乌兰县| 合水县| 建平县| 岳西县| 新乐市| 托克托县| 钟祥市| 六枝特区| 敖汉旗| 门头沟区| 鄂托克旗| 白河县| 松桃| 博湖县| 苍梧县|