欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

wxWidgets类库结构图 博客分类: wxwidgets编程

程序员文章站 2024-03-25 20:48:52
...
自从2.5.0开始,wxWidgets既可以编译成单一的代码库(这种编译方式被称为:monolithic),或者编译为一些多个小的代码库(这种编译方式被称为multilib),Multilib是默认的编译方式。
 
wxWidgets被划分成多个代码库的形式,简要概述如下,这张图标展示了他们之间的依赖关系:
 wxWidgets类库结构图
            
    
    博客分类: wxwidgets编程
 
wxAui
 
    它包含了高级的用户界面库,如控件停靠等。
 
wxBase
 
    每一个wxWidgets应用程序必须连接这个代码库。他包含了wxWidgets依赖的最基础的代码库(如: wxString,也包含了在多个平台之间可移植的抽象定义。wxBase可以被用来开发控制台程序,它并不依赖任何GUI库,也不需要在UNIX平台上运行X-Window系统。
 
wxNet
 
网络访问控制:
  • wxSocket (wxSocketClient, wxSocketServer and 相关类)
  • wxSocketOutputStream wxSocketInputStream
  • 基于SocketsIPC(wxTCPServer, wxTCPClientwxTCPConnection)
  • wxURL
  • wxInternetFSHandler (一个wxFileSystem辅助类)
  • 依赖wxBase.
wxRichText
 
    他包含了通用的RichText控件和相关功能。
 
wxXML
 
    它包含解析XML文档的一些简单类。需要注意的是,这些API接口在将来会被改变,并且也不会提供向后兼容性。所以不推荐在你的程序中使用这些类,它仅仅被XML resources system使用。WxWidgets将来的版本会包含新的DOM-like API XML处理类。
信赖于wxBase.
 
wxCore
 
   基础的GUI类库,如GDI类和控件库。 所有的wxWidgets GUI应用程序都需要连接此类库,除非控制台程序。
 
wxAdvanced
 
    高级GUI控件库:
依赖于wxCorewxBase.
 
wxMedia
 
  和多媒体有关系的一些类。当前,这个类库中只包含wxMediaCtrl,但是在将来会加进更多的类。
 
依赖wxCorewxBase.
 
wxGL
 
   这个类库包含用户整合 OpenGL wxWidgetswxGLCanvas类。与其他的类库包不同,这个类库不能作为单一代码包的一部分。它总是被单独编译。
 
依赖wxCore wxBase.
 
wxHTML
 
     它包含一个简单的HTML展示器和一些HTML呈现类。如wxHtmlHelpController,  wxBestHelpController wxHtmlListBox.
 
  依赖于 wxCore wxBase.
 
wxODBC
 
    关于数据库的一些类。
 
   依赖 wxBase.
 
wxQA
 
   这个类库包包含一些扩展的质量保障附加类。当前仅包含wxDebugReport类及其相关类。但是将来会添加更多的类.
 
依赖于 wxCore, wxBase wxXML.
 
wxDbGrid
 
wxDbGridTableBase类是wxGrid wxDbTable的功能组合类.
依赖于 wxODBC wxAdvanced.
 
wxXRC
 
这个类库包包含wxXmlResource类,它提供了对XRC格式的XML 资源文件的读写访问。
 
依赖于 wxXML, wxCore, wxAdvanced wxHTML.
 
 
附原文:
 
wxWidgets Libraries list
 
Starting from version 2.5.0 wxWidgets can be built either as a single large library (this is called the monolithic build) or as several smaller libraries (multilib build). Multilib build is the default.
 
wxWidgets library is divided into libraries briefly described below. This diagram show dependencies between them:
 wxWidgets类库结构图
            
    
    博客分类: wxwidgets编程 
wxAui
 
This contains the Advanced User Interface docking library.
 
wxBase
 
Every wxWidgets application must link against this library. It contains mandatory classes that any wxWidgets code depends on (e.g. wxString) and portability classes that abstract differences between platforms. wxBase can be used to develop console mode applications, it does not require any GUI libraries or running X Window System on Unix.
 
wxNet
 
Classes for network access:
wxRichText
 
This contains generic rich text control functionality.
 
wxXML
 
This library contains simple classes for parsing XML documents. Note that their API will change in the future and backward compatibility will not be preserved. Use of this library in your applications is not recommended, it is only meant for use by XML resources system. Future versions of wxWidgets will contain new XML handling classes with DOM-like API. Requires wxBase.
 
wxCore
 
Basic GUI classes such as GDI classes or controls are in this library. All wxWidgets GUI applications must link against this library, only console mode applications don't.
 
wxAdvanced
 
Advanced or rarely used GUI classes:
Requires wxCore and wxBase.
 
wxMedia
 
Miscellaneous classes related to multimedia. Currently this library only contains wxMediaCtrl but more classes will be added in the future.
 
Requires wxCore and wxBase.
 
wxGL
 
This library contains wxGLCanvas class for integrating OpenGL library with wxWidgets. Unlike all others, this library is not part of the monolithic library, it is always built as separate library. Requires wxCore and wxBase.
 
wxHTML
 
Simple HTML renderer and other HTML rendering classes are contained in this library, as well as wxHtmlHelpController, wxBestHelpController and wxHtmlListBox. Requires wxCore and wxBase.
 
wxODBC
 
Database classes. Requires wxBase.
 
wxQA
 
This is the library containing extra classes for quality assurance. Currently it only contains wxDebugReport and related classes, but more will be added to it in the future.
 
Requires wxCore, wxBase and wxXML.
 
wxDbGrid
 
wxDbGridTableBase class which combines wxGrid and wxDbTable. Requires wxODBC and wxAdvanced.
 
wxXRC
 
This library contains wxXmlResource class that provides access to XML resource files in XRC format. Requires wxXML, wxCore, wxAdvanced and wxHTML.
 
 
~~The END~~
  • wxWidgets类库结构图
            
    
    博客分类: wxwidgets编程
  • 大小: 30.3 KB