首页> 中文期刊> 《电子设计工程》 >基亏Qt4的图形用户界面程序设计与游戏开发

基亏Qt4的图形用户界面程序设计与游戏开发

         

摘要

Qt is a cross-platform C++ GUI development DSK, as people demand more and more for graphical user interface, it has been widely used. Because of the widely used of Qt, the paper describes the method how to build the environment based on Visual Studio 2008 development platform and coding using Qt creator, Qt's signal-slot mechanism and event handling was analysed, discusses how to use the function of paint event, adding QSound, QTimer and pushbutton. At last, develops specific game names Lines, and through realizing the game to further clarifies excellent performance of Qt4 in building GUI, event handling and the design concept.%Qt是跨平台开发图形界面C++开发包,随着人们对图形用户界面的需求越来越高,得到了越来越广泛的使用。针对Qt使用越来越广泛的问题,介绍了基于Visual Studio 2008环境的Qt Creator开发平台的搭建与编程方法,重点分析Qt的信号与槽机制和事件处理方式,以及详细描述绘图事件、添加音频、定时器和按钮等的使用,并通过开发实现一款单机小游戏Lines,进一步阐述Qt4在构建图形界面、响应事件上的优秀性能和程序设计理念。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号