Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions

Qt 4.4 の新機能

Qt 4.4 では 以前の Qt 4 シリーズのリリースに対して多くの改善と 機能の拡大がなされました。このドキュメントはこのリリースの最も重要な機能をカテゴリー別にカバーします。

Qt 4.3 と Qt 4.4 の間の総合的な変更の一覧はオンラインで提供される changes-4.4.0 ファイルにて 参照できます。

他の Qt 4 の機能の一覧は Qt 4 の新機能 にて参照できます。

ハイライト

Qt WebKit の統合

Webベースのテクノロジーやサービスがユーザーにとってより重要になったのに伴い、アプリケーション開発者にとっては統合されたブラウザコンポーネントにアクセスできることが必要なりました。

Qt 4.4 は QtWebKit モジュールを含みます。 これはオープンソースの WebKit ブラウザエンジンに対して Qt スタイルの API を提供し、 開発者はドキュメントやオンラインサービスを表示するための全機能を使用することができます。 このモジュールはさらにシンプルなウェブブラウジング機能以上のレベルを提供し、他のアプリケーションの部品が Qt のオブジェクト間通信 シグナルとスロット を使用してブラウザと通信をすることを可能します。

Qt と WebKit で達成できることのコンセプトを示すため ウェブブラウザのデモアプリケーション が提供されます。

マルチメディア API

Qt のアプリケーションの為の待望のマルチメディアサポートが、KDE コミュニティとの協力で開発された Phonon マルチメディアフレームワークという形で対応されました。 ディベロッパーはファイルやネットワーク経由での音楽や動画を再生するためのクラスプラットフォームで動作するコードを書くことが出来ます。

グラフ的なアーキテクチャは直感的で拡張性のある Phonon での再生の設定方法を提供します。各プラットフォームでのネイティブなマルチメディアバックエンドの使用は複数のプラットフォームで共通のフォーマットに加えて、プラットフォーム固有のフォーマットをサポートすることができます。

サンプルとデモ を見ればあなたのマルチメディアアプリケーションでどのように Phonon を使用するかが分かります。

XQuery と XPath のサポート

新しい QtXmlPatterns モジュールは QtXml モジュールでサポートされる以上の XML の処理の機能を提供します。XQuery 1.0 と XPath 2.0 のサポートが提供され、問い合わせ言語とその標準のデータ型は データモデル シグナルスロット の様な形で Qt の標準の機能として使用可能です。

グラフィックスビューの中のウィジット

Many applications that use the interactive features provided by the グラフィックスビュー framework also use separate Qt widgets to control the way scenes are displayed to the user, often providing controls to allow zooming and rotation. Other specialized applications need to provide standard Qt widgets alongside graphics items within graphics scenes themselves.

Qt 4.4 provides a set of classes to allow standard Qt widgets to be added to graphics scenes, augmenting the collection of Graphics View classes. Widgets used in this way remain just as functional and responsive as normal widgets

Concurrent Programming

The QtConcurrent framework builds on Qt's threading features to make it easier to write certain kinds of multi-threaded application by integrating implementations of the well-known map-reduce and filter-reduce algorithms with Qt's container classes and object model.

A synchonous (blocking) API is supplemented with an asynchronous (non-blocking) API which uses the concept of futures to handle synchronization between a main thread and several worker threads, simplifying the delivery of results.

Improved Help System

Qt Assistant has been redesigned to use a self-contained help format for documentation packages that makes it easier to maintain collections of documents. The indexing facilities provided by Qt Assistant have been improved to allow multiple co-existing collections of documents to be searched, and results from advanced searches are presented in a familiar webpage-style result page.

With the arrival of the new help formats, the way Qt applications provide online help has also been updated. Qt Assistant has been improved to support automation as a child process of any Qt application, allowing applications to request specific items of documentation, perform searches, and even customize the user interface of Qt Assistant itself.

Printing System Improvements

Improvements to printing in Qt 4.4 include support for custom page sizes and custom margins, as well as the ability to programatically enumerate printers via the new QPrinterInfo class.

A couple of new classes, QPrintPreviewWidget and QPrintPreviewDialog, have been added to make it easy to add a print preview to an application. The QPrintDialog and QPageSetupDialog classes for X11 have been redesigned to be easier to use.

Qt for Windows CE

Qt 4.4 is the first release to include provision for Windows CE as a supported platform. Qt for Windows CE contains all functions necessary to develop end-to-end applications, as well as integrated developer tools, such as powerful graphical user interface (GUI) and forms builder and robust features for translation of applications into new languages.

Qt for Embedded Linux

Qt 4.4 contains a number of improvements specifically for the Embedded Linux platform, many of which are related to performance and extending the range of supported display hardware. These include a screen driver DirectFB and a driver that uses the ATI Handheld Interface library.

In addition, a new selection of demonstrations and examples has been included to showcase the graphical features of Qt for Embedded Linux.


Copyright © 2008 Nokia Trademarks
Qt 4.4.3