Qt статьи

Accessibility in Qt

by Geir Vattekar

Accessibility in computer software is the practice of making applications usable for people with disabilities. This can be implemented by the application itself — for instance, by using a high-contrast user interface with specially selected colors and fonts — or by providing support for external tools, such as screen readers and Braille displays. In this article, we will implement accessibility support for a custom widget. We will also look at support for assistive tools in Qt software development today.

Проектирование делегатов

by Johan Thelin

Одной из наиболее интересных особенностей Qt 4 является структура модель/представление. Она обеспечивает разработчика большой гибкость при работе с элементами отображения списков, таблиц и деревьев. Хотя возможно создание особым образом пользовательских представлений и моделей для представления данных, в этой статье уделено внимание более удобному подходу, использовнию пользовательских делегатов.

Qt WebKit Integration

Что такое Qt WebKit Integration?
Qt WebKit Integration - это интеграция WebKit – с открытым исходным кодом движка web browser используемых компаниями, такими, как Аппле ®, Google ™ и Nokia – с кроссплатформенной структурой разработки Qt. Использование WebKit, Qt разработчики могут:

Embedding Python into Qt Applications

by Florian Link

Embedding scripting languages into C++ applications has become very common. Alongside many mainstream products, such as Microsoft Office and Macromedia Director, there is a growing trend with smaller, more specialized applications to offer integrated scripting to their users.

Zero-Configuration Networking in Qt

by Trenton Schulz

Bonjour is Apple's implementation of zero-configuration networking (Zeroconf), which allows various applications to advertise their services on a local area network. Using Bonjour greatly simplifies finding and using network services. In this article, we will create Qt objects that will handle the various parts of Bonjour and then we will see how we can use those objects in some of Qt's networking examples.

Pixel-Perfect Mac + Plastique

by Jasmin Blanchette

Apple provide detailed specifications of how Mac OS X applications should look and behave. One aspect of these specifications is the spacing that should be used between widgets on a form. For aesthetic reasons, Apple requires different values to be used for different widgets. Starting with Qt 4.3, the layout and style systems talk together to take this into account, rather than using a middle-of-the-road value. The result? Dialogs that look perfect on the Mac. Having just seen the light, we rushed to try out the same with Plastique, the default X11 style.

Using a Simple Web Service with Qt

Qt's networking classes allow all sorts of complex networked applications to be developed, but some Web services are still simple enough to be used with just a few lines of code and a bit of imagination.

Transparent Backgrounds in Qt 4.1

by Andreas Aardal Hanssen

Qt 4.1 radically improves widget drawing through its new "backing store", allowing semi-transparent (alpha-blended) child widgets and faster widget painting, as well as solving long-standing issues with nonrectangular widgets.

Базовые алгоритмы Qt 4 (Qt 4's Generic Algorithms)

by Morten Sшrvig

Перевод: Ершов Эдуард

Qt предоставляет ряд алгоритмов на основе шаблона, которые реализуют самые полезные алгоритмы STL, начиная с версии 2. В этой статье, мы рассмотрим некоторые из алгоритмов, предлагаемых в Qt 4 <QtAlgorithms>.

Deploying Applications on Mac OS X

by Trenton Schulz

The day has finally come. After spending many long hours, the features are implemented, the code is optimized, the testing is complete: The application is ready to leave your protective care and head out into the real world. This article is the first in a series of three covering deployment of Qt applications on various platforms. This one focuses on Mac OS X.