The CLX Architecture

As suggested previously, VisualCLX consists of Object Pascal classes that wrap around existing functionality defined in the Qt classes. This is very similar to the way in which the VCL encapsulates the functionality of the Windows API and the Common Controls. One of the design goals in creating CLX was to make it as easy as possible to port existing VCL applications to the CLX architecture. As a result, the class hierarchy in CLX is very similar to the VCL as illustrated in Figures 13.1 and 13.2. The dark gray boxes in Figure 13.1 highlight the principal base classes in the VCL.

Figure 13.1. The VCL Base Class hierarchy.

Get Borland® Delphi™ 6 Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.