You are here

Glimpsing the Third Dimension

Articles from Qt Quarterly - Thu, 12/06/2003 - 12:00am
Qt's QGL module makes it easy to integrate OpenGL rendering into Qt applications. In this article we will demonstrate how to create a custom QGLContext that can make use of implementation-specific features not covered by the QGL abstraction. We will also present a simple example of a multiplatform multithreaded OpenGL Qt application.

Multi-Page Dialogs

Articles from Qt Quarterly - Thu, 12/06/2003 - 12:00am
Multi-page dialogs present information on pages that are superimposed on screen, so that only one page is visible at any one time. This articles demonstrates two kinds of multi-page dialog and explains how to achieve automatic dialog resizing when a new page is made visible.

Far-Reaching QFtp and QHttp

Articles from Qt Quarterly - Wed, 11/06/2003 - 9:00pm
Qt's QUrlOperator provides simple and convenient access to remote files that are accessible using the FTP or HTTP protocols. New in Qt 3.1 are more direct interfaces to these protocols in the QFtp and QHttp classes. In this article we will explore how these classes can give Qt programmers more power and control over remote files and servers.

Fast and Flicker-Free

Articles from Qt Quarterly - Wed, 11/06/2003 - 9:00pm
Many applications are written using Qt's standard widgets. But sometimes none of the standard widgets is suitable, and it is necessary to write a custom widget. It is not hard to create a custom widget, especially when you start from a QWidget, QFrame or QScrollView subclass and reimplement paintEvent() or drawContents(). But one common problem that can affect custom widgets is flicker. In this article we will explain why flicker occurs and how to avoid it.

Glimpsing the Third Dimension

Articles from Qt Quarterly - Wed, 11/06/2003 - 9:00pm
Qt's QGL module makes it easy to integrate OpenGL rendering into Qt applications. In this article we will demonstrate how to create a custom QGLContext that can make use of implementation-specific features not covered by the QGL abstraction. We will also present a simple example of a multiplatform multithreaded OpenGL Qt application.

Multi-Page Dialogs

Articles from Qt Quarterly - Wed, 11/06/2003 - 9:00pm
Multi-page dialogs present information on pages that are superimposed on screen, so that only one page is visible at any one time. This articles demonstrates two kinds of multi-page dialog and explains how to achieve automatic dialog resizing when a new page is made visible.

Comment moderation

Drupal Modules - Fri, 14/03/2003 - 1:04pm

Edit moderation votes for comments. Moderation in Drupal is similar in spirit to Slashdot and Kuro5hin

Achtung! Binary and Character Data

Articles from Qt Quarterly - Tue, 04/03/2003 - 12:00am
Qt's QString, QCString and QByteArray classes are all alternatives for old-fashioned and limited char arrays. Their proper use can make your applications faster, smaller, and more reliable. QString also brings the internationalization benefits of Unicode, and Qt's QDataStream and QTextStream classes make portable I/O easy. This article explains how to realize the benefits offered by these classes.

Canvas Item Groupies

Articles from Qt Quarterly - Tue, 04/03/2003 - 12:00am
Diagram editors and similar programs often provide their users with a means of grouping graphical items together. Grouping makes it easier for users to apply an operation to many items at once. This article presents one simple approach to grouping canvas items using a generic CanvasGroup class. We also provide a QCanvasView subclass as a practical example of use.

Generating XML

Articles from Qt Quarterly - Tue, 04/03/2003 - 12:00am
Qt provides the SAX and DOM classes for parsing XML, but does not include a dedicated class to generate XML. In this article we will develop a straightforward XmlWriter class based on QTextStream, and demonstrate how to use it in practice, with an example that generates a Qt Designer .ui file.

Iconography 101

Articles from Qt Quarterly - Tue, 04/03/2003 - 12:00am
Icons stand out as one of the most characteristic features of modern graphical user interfaces (GUIs). With the advent of Qt Designer's image collection support in Qt 3.0 and the complete rewrite of the QIconSet class in Qt 3.1, it is time to refresh our knowledge about the different approaches to generating and storing images.

Achtung! Binary and Character Data

Articles from Qt Quarterly - Mon, 03/03/2003 - 10:00pm
Qt's QString, QCString and QByteArray classes are all alternatives for old-fashioned and limited char arrays. Their proper use can make your applications faster, smaller, and more reliable. QString also brings the internationalization benefits of Unicode, and Qt's QDataStream and QTextStream classes make portable I/O easy. This article explains how to realize the benefits offered by these classes.

Canvas Item Groupies

Articles from Qt Quarterly - Mon, 03/03/2003 - 10:00pm
Diagram editors and similar programs often provide their users with a means of grouping graphical items together. Grouping makes it easier for users to apply an operation to many items at once. This article presents one simple approach to grouping canvas items using a generic CanvasGroup class. We also provide a QCanvasView subclass as a practical example of use.

Generating XML

Articles from Qt Quarterly - Mon, 03/03/2003 - 10:00pm
Qt provides the SAX and DOM classes for parsing XML, but does not include a dedicated class to generate XML. In this article we will develop a straightforward XmlWriter class based on QTextStream, and demonstrate how to use it in practice, with an example that generates a Qt Designer .ui file.

Iconography 101

Articles from Qt Quarterly - Mon, 03/03/2003 - 10:00pm
Icons stand out as one of the most characteristic features of modern graphical user interfaces (GUIs). With the advent of Qt Designer's image collection support in Qt 3.0 and the complete rewrite of the QIconSet class in Qt 3.1, it is time to refresh our knowledge about the different approaches to generating and storing images.

Qt 3.1 -- A Better Qt

Articles from Qt Quarterly - Thu, 21/11/2002 - 12:00am
Qt 3.1 introduces many improvements to make Qt programming even easier and more productive. This article explains how to make the best use of the new functionality in your Qt projects. For a complete list of what has changed, see http://www.trolltech.com/developer/changes/3.1.html.

Trading Height for Width

Articles from Qt Quarterly - Thu, 21/11/2002 - 12:00am
Since the release of Qt 2.0, layouts have become an important part of Qt programming. Layouts relieve the programmer from having to specify the position of all of a form's child widgets, and usually result in more attractive forms. This article presents one problem that can arise with layouts, and for which no perfect solution exists: height-for-width." It also presents the source code of a fish- and layout-friendly Aquarium widget.

Prize Puzzle Solution

Articles from Qt Quarterly - Thu, 21/11/2002 - 12:00am
The puzzle contains 45 unique Qt functions (plus two that are duplicated). The functions in the puzzle are listed using the format: name, column, row, and direction. The unused letters (highlighed in yellow) can be rearranged to form QMap's values() function.

Diving into Splash Screens

Articles from Qt Quarterly - Thu, 21/11/2002 - 12:00am
Most large applications use splash screens to provide feedback to the user, and as advertising space. Despite appearing to be a simple graphical hack, there are some issues to consider when adding a splash screen so that you don't put people off using your program.

Qt 3.1's SQL Sequel

Articles from Qt Quarterly - Thu, 21/11/2002 - 12:00am
In the first part of this article we look at Qt 3.1's new value binding syntax to simplify passing Unicode and binary data. In the second part we see how to ease database application deployment. The third part describes an alternative to ODBC DSNs.

Diving into Splash Screens

Articles from Qt Quarterly - Wed, 20/11/2002 - 10:00pm
Most large applications use splash screens to provide feedback to the user, and as advertising space. Despite appearing to be a simple graphical hack, there are some issues to consider when adding a splash screen so that you don't put people off using your program.

Trading Height for Width

Articles from Qt Quarterly - Wed, 20/11/2002 - 10:00pm
Since the release of Qt 2.0, layouts have become an important part of Qt programming. Layouts relieve the programmer from having to specify the position of all of a form's child widgets, and usually result in more attractive forms. This article presents one problem that can arise with layouts, and for which no perfect solution exists: height-for-width." It also presents the source code of a fish- and layout-friendly Aquarium widget.

Prize Puzzle Solution

Articles from Qt Quarterly - Wed, 20/11/2002 - 10:00pm
The puzzle contains 45 unique Qt functions (plus two that are duplicated). The functions in the puzzle are listed using the format: name, column, row, and direction. The unused letters (highlighed in yellow) can be rearranged to form QMap's values() function.

Qt 3.1 -- A Better Qt

Articles from Qt Quarterly - Wed, 20/11/2002 - 10:00pm
Qt 3.1 introduces many improvements to make Qt programming even easier and more productive. This article explains how to make the best use of the new functionality in your Qt projects. For a complete list of what has changed, see http://www.trolltech.com/developer/changes/3.1.html.

Qt 3.1's SQL Sequel

Articles from Qt Quarterly - Wed, 20/11/2002 - 10:00pm
In the first part of this article we look at Qt 3.1's new value binding syntax to simplify passing Unicode and binary data. In the second part we see how to ease database application deployment. The third part describes an alternative to ODBC DSNs.

Pages