文档介绍:摘要
嵌入式网络浏览器多用于嵌入式小型设备中,如手机、数字电视机顶盒、PDA、小型广告机等。其拥有体积小、耗能低、功能能基本满足需要等特点。
本文首先对个人机上的常用网络浏览器进行分析,再对当前存在的一些嵌入式网络浏览器如konqueror、UCweb进行分析并与个人机上的网络浏览器进行比较,给出了设计嵌入式浏览器的一些方案。
。给出了每个程序模块的设计思想和主要算法。
本文的主要内容涉及Qt语法的分析,浏览器各部分功能模块的分析实现,以及Html语法分析程序的解析。
在文中给出了程序各模块的测试结果。并且照本浏览器的特性与主流浏览器的相应功能进行对比。
关键词:嵌入式、浏览器、html语法、Qt
Abstract
An embedded browser is always used in small-sized embedded equipment such as mobile phone,Set-Top Box for digital TV,PDA,and advertisement broadcasts. They are small size, low power consumption,and the function they have can basically meet the need of people.
Firstly, this paper analysis the fashion web browser on PC and embedded web browser such as konqueror and UCweb. Then give parison between those browsers. At last, we give out a project design for our new embedded web browser.
This paper introduced a method to achieve a browser with basic functions using a lower version designer named Qt also include the design philosophy and main algorithm.
The main contents include the analysis of syntax of Qt and html language. And the achievement of each function module.
The main algorithm is presented in this paper while the result of test will be given. What's more, parison between the fashion web browsers and this design based on the identity will be given.
Key words: embedded,browser,html syntax,Qt
目录
引言 1
第一章嵌入式浏览器的基本知识 2
主流浏览器的功能分析 2
Explorer概述 2
Mozilla FireFox的概述 2
嵌入式浏览器的分析 3
konqueror 3
手机浏览器 3
嵌入式浏览器的开发难度分析 3
方案分析 3
需求分析 4
硬件要求 4
软件要求 5
准备工作 5
移植操作系统与文件系统 5
应用程序的移植 5
Qt的熟悉 5
第二章主要部分功能模块的实现 8
功能实现的基本方法和全局函数的说明 8
文字的输出 8
菜单与菜单功能的实现 8
视频菜单的实现 9
初写各部分功能模块 10
emitword()输出文字信息的模块 10
createlink()超链接的创建 10
createland()跳转点的创建 10
emitlink()超级链接的激活 10
jumptoplace()转到指定位置 11
eraseword()擦除文字 11
createpicturelink()创建图片链接 12
e