文件名称:
KDE Architecture Overview
开发工具:
文件大小: 485kb
下载次数: 0
上传时间: 2008-02-21
详细说明: KDE Architecture Overview
1 Librarystructure
1.1 Libraries byname . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Groupedclasses . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Graphics 6
2.1 Low-levelgraphics with QPainter . . . . . . . . . . . . . . . . . 6
2.1.1 Renderingwith QPainter . . . . . . . . . . . . . . . . . . 6
2.1.2 Transformations . . . . . . . . . . . . . . . . . . . . . . . 7
2.1.3 Settingstrokingattributes . . . . . . . . . . . . . . . . . . 8
2.1.4 Settingfillattributes . . . . . . . . . . . . . . . . . . . . . 9
2.1.5 Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.1.6 Othersettings . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.1.7 Drawinggraphicsprimitives . . . . . . . . . . . . . . . . 11
2.1.8 Drawingpixmapsand images . . . . . . . . . . . . . . . 11
2.1.9 Drawingtext . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2 Structured graphicswith QCanvas . . . . . . . . . . . . . . . . . 12
2.3 3DgraphicswithOpenGL . . . . . . . . . . . . . . . . . . . . . . 13
2.3.1 Low-level interface . . . . . . . . . . . . . . . . . . . . . . 13
2.3.2 High-levelinterfaces . . . . . . . . . . . . . . . . . . . . . 14
3 User interface 15
3.1 Theactionpattern . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2 Defining menus and toolbars inXML . . . . . . . . . . . . . . . 15
3.2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2.2 Anexample: MenuinKView . . . . . . . . . . . . . . . . 16
KDE Architecture Overview
3.2.3 Anexample: Toolbars inKonqueror . . . . . . . . . . . . 18
3.2.4 Dynamicalmenus . . . . . . . . . . . . . . . . . . . . . . 19
3.2.5 Contextmenus . . . . . . . . . . . . . . . . . . . . . . . . 19
3.3 Providingonlinehelp . . . . . . . . . . . . . . . . . . . . . . . . . 20
4 Componentsandservices 23
4.1 KDE services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.1.1 WhatareKDEservices? . . . . . . . . . . . . . . . . . . . 23
4.1.2 Definingservicetypes . . . . . . . . . . . . . . . . . . . . 24
4.1.3 Definingsharedlibrary services . . . . . . . . . . . . . . 24
4.1.4 Using sharedlibrary services . . . . . . . . . . . . . . . . 25
4.1.5 DefiningDCOP services . . . . . . . . . . . . . . . . . . . 26
4.1.6 Using DCOPservices . . . . . . . . . . . . . . . . . . . . 27
4.2 MIMEtypes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.2.1 WhatareMIMEtypes? . . . . . . . . . . . . . . . . . . . . 28
4.2.2 DefiningMIMEtypes . . . . . . . . . . . . . . . . . . . . 29
4.2.3 DeterminingtheMIMEtypeof data . . . . . . . . . . . . 29
4.2.4 Mapping aMIME typetoan applicationor service . . . 31
4.2.5 Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.3 Networktransparency . . . . . . . . . . . . . . . . . . . . . . . . 32
4.3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.3.2 Using KIO . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.3.3 Directoryentries . . . . . . . . . . . . . . . . . . . . . . . 35
4.3.4 Synchronoususage . . . . . . . . . . . . . . . . . . . . . . 36
4.3.5 Metadata . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.3.6 Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4.3.7 Definingan ioslave . . . . . . . . . . . . . . . . . . . . . . 39
4.3.8 Implementing an ioslave . . . . . . . . . . . . . . . . . . . 40
4.3.9 Communicatingback tothe application . . . . . . . . . . 41
4.3.10 Interactingwiththeuser . . . . . . . . . . . . . . . . . . . 42
A Licensing 43
...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.