Está en la página 1de 3

Home Qt Reference Documentation Qt HOME DEV LABS DOC BLOG Qt 4.

7ALL VERSIONS Search index: API Lookup Class index Function index Modules Namespaces Global Declarations QML elements Qt Topics Programming with Qt Device UIs & Qt Quick UI Design with Qt Supported Platforms Qt and Key Technologies How-To's and Best Practices Examples Examples Tutorials Demos QML Examples HomeQt Features OverviewAAA Print Contents Fundamental Technologies in Qt Graphical User Interfaces Painting, Printing and Rendering Infrastructure Web Client Integration Further Reading Qt Features Overview This document provides a summary of the most important features of Qt, providing links to other pages in the documentation that cover these features in more det ail. It is not intended to be a comprehensive guide to Qt's features. Fundamental Technologies in Qt Qt is built upon a set of core technologies, provided by the QtCore and QtGui mo dules. These include the following: The Tulip Container Classes, a set of template container classes. The Arthur Paint System, the Qt 4 painting framework. The Interview Framework, a model/view architecture for item views and the QtSQL Module, which also uses this architecture. The Scribe Classes, a framework for creating text documents, performing low-leve l text layout and writing OpenDocument files. A collection of common desktop widgets, styled to fit in on each supported platf orm. The Qt 4 Main Window Classes, a main window, toolbar, menu, and docking architec ture. The Graphics View framework provides a canvas for producing interactive graphics . The QtNetwork Module provides support for TCP, UDP and local sockets that are in

tegrated with Qt's event model, including support for Secure Socket Layer (SSL) communications, network proxy servers and network bearer management. Enhanced thread support allows signal-slot connections across threads and per-th read event loops. Additionally, a framework for concurrent programming using Qt paradigms makes common threading tasks easier. A resource system for embedding images and other resource files into executable files makes it easier to deploy applications. A unit testing framework for Qt applications and libraries. The mature classes provided by these technologies have been used to build robust , cross-platform desktop applications. They are augmented by a number of additio nal technologies and improvements that have appeared over the lifetime of Qt 4. Graphical User Interfaces

Alongside the support for traditional desktop user interfaces, Qt includes suppo rt for declarative UI development with Qt Quick, a set of technologies for creat ing fluid, dynamic user interfaces. A starting point for exploring this approach can be found in the Introduction to Qt Quick guide. Qt provides a range of standard user interface elements, called widgets, for eac h supported platform. Widgets can be used as containers for other widgets, as wi ndows, and as regular controls that the user interacts with. Where the platform supports it, widgets can be made to appear partially transparent, and may be sty led with Qt Style Sheets. Support for touch input and gestures enable widgets to be used to create intuiti ve user interfaces for touch-enabled devices. User interfaces can also be created dynamically at run-time with the features pr ovided by the QtUiTools module. A selection of available widgets are shown in the Qt Widget Gallery. An introduc tion to the concepts behind widgets can be found in the Widgets Tutorial. Painting, Printing and Rendering Widgets are just one of many kinds of paint device that Qt can render onto. This support for unified painting makes it possible for applications to use the same painting code for different tasks, as well as allowing Qt to be extended to sup port additional file formats. Qt provides support for common bitmap image formats, Scalable Vector Graphics (S VG) drawings and animations, Postscript and Portable Document Format (PDF) files . Postscript and PDF are integrated with Qt's printing system, which also allows printed output to be previewed. Interactive graphics can be created with the animation framework, allowing anima tions to be used with both widgets and graphics items. Animations can be used wi th the state machine framework, which provides a way to express application logi c and integrate it with the user interface. Animations can be enhanced with a co llection of graphics effects that operate on graphics items and can be applied i ndividually or combined to create more complex effects. Qt supports integration with OpenGL on a number of levels, providing convenience functions for handling textures and colors, as well as providing support for pi xel and sample buffers. Future support for higher level 3D integration is provid ed by Qt3D enablers which include matrix multiplication, quaternions, and an API for vertex and fragment shaders. Two APIs are provided for multimedia. The Phonon Multimedia Framework has tradit ionally been used on desktop platforms. A set of multimedia services provides lo w-level access to the system's audio system and is often used on mobile devices. Infrastructure

Facilities for Inter-Process Communication (IPC) and Remote Procedure Calling (R PC) mechanisms are available on platforms that support the D-Bus message bus sys tem. An Undo framework based on the Command pattern is designed to enable a consisten t approach to handling data in editing applications. The QtScript and QtScriptTools modules provide support for application scripting and debugging using the ECMAScript language. The QtHelp Module provides the foundations of an interactive help system that ca n be used in conjunction with Qt Creator or integrated into applications directl y. XML handling is supported in a number of places in Qt. The QtCore module provide s classes for reading and writing XML streams. The QtXmlPatterns module includes XQuery, XPath and XSLT support, providing facilities for XML processing beyond that supported by the QtXml module, which contains SAX and DOM parsers. XML sche ma validation in the QtXmlPatterns module covers large parts of version 1.0 of t he specification. Web Client Integration Integration between Qt and WebKit makes it possible for developers to use a full y-featured Web browser engine to display documents and access online services. D evelopers can access the browser's environment to create documents and run scrip ts within one or more browser widgets. A DOM access API for QtWebKit provides a cleaner and safer way to access element s and structures of Web pages without the use of JavaScript. Further Reading Many of the technologies mentioned here, as well as other, more specific feature s, are listed in the What's New in Qt 4 document. A complete list of Qt's module s can be found on the All Modules page, which also includes more domain-specific technologies. The tools that are supplied with Qt are covered by the listing in the Qt's Tools document. 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respect ive logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy Licensees holding valid Qt Commercial licenses may use this document in accordan ce with the Qt Commercial License Agreement provided with the Software or, alter natively, in accordance with the terms contained in a written agreement between you and Nokia. Alternatively, this document may be used under the terms of the GNU Free Documen tation License version 1.3 as published by the Free Software Foundation.

También podría gustarte