The blog is moving to a new host on Monday 2nd of September. The comments are disabled during the migration.

Search Results for:

Dealing with queries returning multiple result sets

Published Tuesday November 13th, 2007 | 2 Comments on Dealing with queries returning multiple result sets
Posted in Qt

Some databases allow stored procedures and SQL batches to return multiple result sets. As some of you may have noticed Qt only allows you to access a single result set even when your query returns multiple, but as of Qt 4.4 this limitation will be history. The cause of this joy is the newborn QSqlQuery::nextResult() […]

Read More

Printer information support

Published Tuesday November 13th, 2007 | 3 Comments on Printer information support
Posted in Qt

As a relatively new Trolltech employee (this is my first post!), I was thrown into Qt’s printing framework, with the hopes of improving some of the long standing issues. One of the problems with printing using Qt today isn’t actually printing itself, but rather information about printers. The current framework is very opaque; typically a […]

Read More

Qt Jambi and Jython

Published Tuesday November 6th, 2007 | 2 Comments on Qt Jambi and Jython
Posted in KDE, Qt, Qt Jambi

Some time ago a question popped up on qt-jambi-interest about how Qt Jambi would work together with jython. The main problem was signals and slots as our string-based approach doesn’t map to well into the world of interpreted languages on top of Java. I sat down some time ago and got jython to work pretty […]

Read More

Unit Testing with Qt Script

Published Monday November 5th, 2007 | 2 Comments on Unit Testing with Qt Script
Posted in Qt, Test

Qt comes with a nice tool for unit testing, called QTestLib. Inspired by QTestLib, I set out to create something similar that makes it easy to write tests in Qt Script. I’ve dubbed it QSTestLib. Hopefully you’ll find it useful for testing scripting APIs that your application exports. Grab QSTestLib here. The documentation is in […]

Read More

QStyledItemDelegate – Styling Item views

Published Thursday November 1st, 2007 | 8 Comments on QStyledItemDelegate – Styling Item views
Posted in Itemviews, KDE, Qt, Styles

It all started as a small feature request – Adding style sheet support for Item views. I quickly found out that our default delegate, QItemDelegate, doesn’t use QStyle the way it is supposed to. Jens had faced the same problem when trying to provide native look and feel for Vista and ended up writing his […]

Read More
Get started today with Qt Download now