You are here

Mapping Many Signals to One

Articles from Qt Quarterly - Thu, 22/07/2004 - 9:00pm
Qt allows us to connect multiple signals to the same signal or slot. This can be useful when we provide the user with many ways of performing the same operation. Sometimes, however, we would like the slot to behave slightly differently depending on which widget invoked it. In this article we explore various solutions, including the use of QSignalMapper.

All applications suck

My Scratchpad - Wed, 21/07/2004 - 10:28pm

Seriously, I don’t know what is wrong with me. I just can’t seem to find any usable software package lately. Either they all suck, or I’m being too demanding or impatient. Probably both, there’s a lot of crappy software out there—which includes my own. Most software depends on either a specific database system, a specific programming language, or has far too many dependencies (have a look at slash or scoop for example, gah).

Protest-protesters

My Scratchpad - Mon, 19/07/2004 - 6:27pm

Conservatives to protest RNC protests ―what?

Their website has more information. These guys seem to be seriously derailed. There is nothing wrong with protests to make yourself heard, but these guys just seem to be protesting just for the heck of it:

“We must admit we get a certain high from puncturing the moral self-righteousness of leftists.”

Configuring exim4

My Scratchpad - Wed, 30/06/2004 - 4:35pm
 ┌──────────────────┤ Configuring Exim v4 (exim4-config) ├───────────────────┐
 │                                                                           │
 │ The headers of outgoing mail can be rewritten to make it appear to have   │
 │ been generated on a different system, replacing                           │
 │ "phoenix.office.next-element.nl" "localhost" and "" in From, Reply-To,    │
 │ Sender and Return-Path.                                                   │

A QListBox-Based File Browser

Articles from Qt Quarterly - Mon, 05/04/2004 - 12:00am
This article presents FileBrowser, a QListBox subclass that allows the user to browse directories and files. Unlike QFileDialog, which works as a modal window, the FileBrowser widget can be embedded in an application's main window or in a dialog, making it more convenient for browsing.

Deploying Applications on Mac OS X

Articles from Qt Quarterly - Mon, 05/04/2004 - 12:00am
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.

Unblocking Networking

Articles from Qt Quarterly - Mon, 05/04/2004 - 12:00am
GUI applications that are network clients shouldn't freeze up during networking operations. This article compares two different ways of keeping a networking client's user interface responsive: using the non-blocking QSocket class, and using a blocking QSocketDevice in a separate thread.

Look 'n' Feel Q & A

Articles from Qt Quarterly - Mon, 05/04/2004 - 12:00am
This article provides answers to some frequently asked questions about the look and feel of Qt widgets. In particular, we will see how to subclass QStyle to customize the look of Qt's built-in widgets, and how to use event filters to do painting on behalf of another widget.

Qt Solutions Overview

Articles from Qt Quarterly - Mon, 05/04/2004 - 12:00am
Trolltech provides platform- and industry-specific components and tools, as well as cutting-edge components too new to include directly in Qt, to Qt Enterprise license holders as Qt Solutions. We expect to release new components each quarter. In this article, we will review the components that are available so far. Check out www.trolltech.com/products/solutions/ regularly or read Qt Quarterly to keep up-to-date about new components.

What's New in Qt 3.3

Articles from Qt Quarterly - Mon, 05/04/2004 - 12:00am
Qt 3.3 is now available. This new version introduces many improvements over Qt 3.2. We will review the most important changes in this article; for a complete list of what has changed, see www.trolltech.com/developer/changes/changes-3.3.0.html.

A QListBox-Based File Browser

Articles from Qt Quarterly - Sun, 04/04/2004 - 9:00pm
This article presents FileBrowser, a QListBox subclass that allows the user to browse directories and files. Unlike QFileDialog, which works as a modal window, the FileBrowser widget can be embedded in an application's main window or in a dialog, making it more convenient for browsing.

Deploying Applications on Mac OS X

Articles from Qt Quarterly - Sun, 04/04/2004 - 9:00pm
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.

What's New in Qt 3.3

Articles from Qt Quarterly - Sun, 04/04/2004 - 9:00pm
Qt 3.3 is now available. This new version introduces many improvements over Qt 3.2. We will review the most important changes in this article; for a complete list of what has changed, see www.trolltech.com/developer/changes/changes-3.3.0.html.

Qt Solutions Overview

Articles from Qt Quarterly - Sun, 04/04/2004 - 9:00pm
Trolltech provides platform- and industry-specific components and tools, as well as cutting-edge components too new to include directly in Qt, to Qt Enterprise license holders as Qt Solutions. We expect to release new components each quarter. In this article, we will review the components that are available so far. Check out www.trolltech.com/products/solutions/ regularly or read Qt Quarterly to keep up-to-date about new components.

Look 'n' Feel Q & A

Articles from Qt Quarterly - Sun, 04/04/2004 - 9:00pm
This article provides answers to some frequently asked questions about the look and feel of Qt widgets. In particular, we will see how to subclass QStyle to customize the look of Qt's built-in widgets, and how to use event filters to do painting on behalf of another widget.

Unblocking Networking

Articles from Qt Quarterly - Sun, 04/04/2004 - 9:00pm
GUI applications that are network clients shouldn't freeze up during networking operations. This article compares two different ways of keeping a networking client's user interface responsive: using the non-blocking QSocket class, and using a blocking QSocketDevice in a separate thread.

Fancy List Items

Articles from Qt Quarterly - Mon, 15/12/2003 - 12:00am
Qt's list view class can provide list and tree views and is capable of handling large amounts of data. But out of the box it can only have one background color and one font for all of its items. The same applies to Qt's list box widget. In this article we present a a list box item subclass and a list view item subclass that can have custom fonts and background colors.

Fields on Forms

Articles from Qt Quarterly - Mon, 15/12/2003 - 12:00am
Forms that have lots of line edits often use a grid layout with labels in the first column and line edits in the second column. This looks attractive, except that fields that can only accept a short amount of text, say one or two characters, are given the same width as fields that can take a long line of text. This deprives users of the visual cue that proportional widths would give. This article provides a simple solution.

Providing Context-Sensitive Help

Articles from Qt Quarterly - Mon, 15/12/2003 - 12:00am
Qt offers many ways of providing online help. These include tool tips, "What's This?" messages, and access to dedicated help progams like Qt Assistant. Sometimes we want to provide more help on a particular widget than can comfortably fit in a tool tip or "What's This?" message, and we want to be able to take the user to the relevant help without forcing them to search or scroll for it. The solution is to provide context-sensitive help for the current widget.

Laying out MDI Children

Articles from Qt Quarterly - Mon, 15/12/2003 - 12:00am
Qt provides support for MDI (Multiple Document Interface) through its QWorkspace widget. The workspace provides two strategies for laying out its child widgets. In this article we will show how easy it is to add new layout strategies to QWorkspace.

Internationalization Q & A

Articles from Qt Quarterly - Mon, 15/12/2003 - 12:00am
This article provides answers to some frequently asked questions about internationalizing Qt applications. It covers such topics as distributing translation files, reverse translations, and dynamic language switching.

Signal Multiplexing

Articles from Qt Quarterly - Mon, 15/12/2003 - 12:00am
Applications that allow the user to open multiple documents, perhaps of different types, must ensure that the user interface is appropriate for the current document, with the right menu options and toolbar buttons enabled or disabled appropriately. For large applications with many actions, it is easy to forget to update all the relevant actions when the user changes documents. This article presents an abstraction that can solve the problem: a signal multiplexer.

Signal Multiplexing

Articles from Qt Quarterly - Sun, 14/12/2003 - 10:00pm
Applications that allow the user to open multiple documents, perhaps of different types, must ensure that the user interface is appropriate for the current document, with the right menu options and toolbar buttons enabled or disabled appropriately. For large applications with many actions, it is easy to forget to update all the relevant actions when the user changes documents. This article presents an abstraction that can solve the problem: a signal multiplexer.

Internationalization Q & A

Articles from Qt Quarterly - Sun, 14/12/2003 - 10:00pm
This article provides answers to some frequently asked questions about internationalizing Qt applications. It covers such topics as distributing translation files, reverse translations, and dynamic language switching.

Fancy List Items

Articles from Qt Quarterly - Sun, 14/12/2003 - 10:00pm
Qt's list view class can provide list and tree views and is capable of handling large amounts of data. But out of the box it can only have one background color and one font for all of its items. The same applies to Qt's list box widget. In this article we present a a list box item subclass and a list view item subclass that can have custom fonts and background colors.

Pages