基于QT的多媒体播放器系统的设计与实现

基于QT的多媒体播放器系统的设计与实现

基于QT的多媒体播放器系统的设计与实现

  • 适用:本科,大专,自考
  • 更新时间2024年
  • 原价: ¥291
  • 活动价: ¥200 (活动截止日期:2024-05-01)
  • (到期后自动恢复原价)
基于QT的多媒体播放器系统的设计与实现

基于QT的多媒体播放器系统的设计与实现
摘要
Qt是开发的一个跨平台的C++图形用户界面应用程序框架。它提供给应用程序开发者建立艺术级的图形用户界面所需的所用功能。Qt是完全面向对象的,很容易扩展,并且允许真正地组件编程。
本文以Qt为基础,对多媒体播放器系统的实际设计情况进行了需求分析,利用软件工程的开发流程及面向对象的思想,构建了多媒体播放器系统的总体框架,为最终多媒体播放器系统的实现提供了理论依据。本文介绍了从分析到开发到系统的设计与测试的整个音乐多媒体播放器的生成过程,包括了4个章节,第一章为绪论,简单介绍了音乐和音频编码;第二章为系统功能,用一张用例图表达了系统所需的基本功能;第三章为系统设计,以第二章为基础详细具体的罗列出系统的每个功能;第四章为系统实现,包括了主界面,每个功能界面的截图与代码片段。测试结果表明,基于Qt的多媒体播放器系统可以在Win7的Qt5.2中运行,也可以在ubuntu的Qt5.2中运行,代码只需做微小的调整,减轻程序员的代码量,节省开发成本,为未来的开发提供一个重要的参考。

关键词  Qt;多媒体播放器系统;设计;实现


Abstract
Qt is a cross platform C++ graphical user interface application framework developed. It provides application developers with the functions needed to create art level GUI. Qt is completely object oriented, easy to expand, and allows real component programming.On the basis of Qt, this paper analyzes the actual design of the multimedia player system, uses the development process of software engineering and the idea of object oriented, constructs the overall framework of the multimedia player system, and provides a theoretical basis for the realization of the final multimedia player system. This paper introduces the generation process of the whole music media player from analysis to development to system design and testing, including 4 chapters. The first chapter is introduction, briefly introduces music and audio coding; the second chapter is system function, uses a use case diagram to express the basic functions required by the system; the third chapter is the system set up. On the basis of second chapters, each function of the system is listed in detail, and the fourth chapter is a system implementation, including the main interface, the screenshot and the code fragment of each functional interface. The test results show that the Qt based multimedia player system can run in the Qt5.2 of the Win7 or run in the Qt5.2 of the Ubuntu. The code only needs to be adjusted to reduce the code amount of the programmer, save the development cost, and provide an important reference for the future development.

Keywords Qt; multimedia player system; design; implementation.

 

 

 

摘要 i
Abstract ii
1  绪论 2
1.1  开发背景 2
1.2  系统目标 3
1.3  基于Qt程序的多媒体播放器系统的设计的必要性 3
2 系统的功能分析 4
3系统设计 5
3.1系统概要设计 5
3  需求分析 8
3.1  需求概述 8
3.2  系统用例图 8
3.3  系统关键领域类 9
4系统设计 10
4.1系统的编译与运行 10
4.2系统运行 10
4.3系统功能界面 11
4.3.1加入文件功能实现 11
4.3.2加入目录 14
4.3.3打开歌曲列表 16
4.3.4歌曲控制功能实现 18
4.3.5音量控制功能实现 20
4.3.6静音设置功能实现 20
4.3.7播放进度条功能实现 21
5  系统实现 22
5.1  树形结构显示 22
5.1.1  主要相关代码及说明 22
5.1.2  关键技术应用中问题的解决 24
5.2  播放列表 24
5.2.1  主要相关代码及说明 24
5.2.2  功能实现 28
5.3  读取MP3音频文件 28
5.3.1  主要相关代码 28
5.3.2  写代码时的思路依据 31
5.4  播放控制 31
5.4.1  主要相关功能的部分代码 31
5.4.2  媒体对象状态的简单介绍 36
5.5  播放进度条 36
5.5.1  主要相关功能的部分代码 36
6  系统测试 39
6.1  测试的意义 39
6.2  测试方法 39
6.3  测试过程 39
6.4  单元测试 40
6.5  测试总结 40
参考文献 42
参考文献
[1] 曹静,软件开发生命周期与统一建模语言UML[M].北京:中国水利水电出版社,2008.
[2] 汪永好,周延森,基于嵌入式Linux的播放器的设计与实现[J],计算机工程与设计,2009,30
   (17).
[3] 焦正才,樊文侠,基于Qt/Embedded 的MP3音乐播放器的设计与实现[J],电子设计工程,2012,20
    (7).
[4] 陈自龙,周书杰,唐永明,基于ARM嵌入式系统的高保真无损音乐播放器设计[J],电子器件,
    2012,35(6).
[5] Donald E.kunth,the art of Computer Programming[M],Zoroth printing,2002.
[6] Erich Gamma,Ralph J,等,Design Pattern[M],Addison-Wesley Professional,1995.
[7] Barbara E.Moo,Stanley B.Lippman 等,C++ Primer中文版[M].北京:人民邮电出版社,2006.
[8] BjarneStroustrup,The Design and Evolution of C++[M],Addison-Wesley Professional,1994.
[9] 成洁,卢紫毅,Linux窗口程序设计-QT精彩实例分析[M].北京:清华大学出版社,2008.
[10] Scott Meyers,More Effective C++[M].北京:机械工业出版社,2006.
[11] Blanchette J ,Summerfield M. C++ GUI Programming with Qt4,Second Edition[M]. USA:
     Prentice Hall, 2006.

 

  • 关键词 QT 媒体播放器 实现
  • 上一篇:手机信号屏蔽器的研究与设计
  • 下一篇:电力机车司机室噪声控制研究
  • 暂无购买记录

    暂时没有评论

    真实

    多重认证,精挑细选的优质资源 优质老师。

    安全

    诚实交易,诚信为本。

    保密

    所有交易信息,都为您保密。

    专业

    10年专业经验,10年来帮助无数学子。