Labs

No-Humbug-Debugging With Qt Script Debug

Published Friday February 22nd, 2008 | 7 Comments on No-Humbug-Debugging With Qt Script Debug
Posted in Labs, Qt Script Debug

Announcing a new project on Trolltech Labs: Qt Script Debug. This is a collection of classes and tools that add debugging capabilities to applications that use Qt Script (Qt 4.4+ is needed). Embedding a debugger directly into an application can be done like this: QScriptEmbeddedDebugger debugger; debugger.attachTo(/* Pointer to your QScriptEngine goes here*/); Then just […]

Read More

Accurate update regions for thin QGraphicsItems

Published Tuesday January 8th, 2008 | 10 Comments on Accurate update regions for thin QGraphicsItems
Posted in Graphics View, KDE, Labs, Painting, Qt

We’ve gotten reports about how Graphics View’s performance drops in one special (yet quite common) case. It’s the case when the item is fairly thin, flat, non-square, or simply sparse, where QGraphicsItem’s bounding rect generates something close to worst-case updates that cause repaints of areas that really haven’t changed. A very helpful customer showed me […]

Read More

Popups are a can of worms

Published Wednesday December 19th, 2007 | 10 Comments on Popups are a can of worms
Posted in Graphics View, KDE, Labs, Qt

Hm, that title sounds funny with no associated context. We’re implementing popup support in Graphics View. This is the result of an outstanding bug, or rather essential missing functionality, in the Widgets on Canvas project: support for embedded popups. I.e., popups that pop out of widgets that are embedded into a QGraphicsScene. Such as the […]

Read More

Widgets On The Canvas Integrated

Published Thursday November 22nd, 2007 | 16 Comments on Widgets On The Canvas Integrated
Posted in Graphics Items, Graphics View, KDE, Labs, Qt

The day has finally arrived. We are proud to announce that we have now integrated our development branch for the Widgets On The Canvas project into Qt/main, or what will become Qt 4.4. You have already seen a random selection of screenshots and feature rundowns in previous blogs, but now it’s all in your hands […]

Read More

Noises from the crypt… (Widgets on Graphics View update)

Published Tuesday October 30th, 2007 | 13 Comments on Noises from the crypt… (Widgets on Graphics View update)
Posted in Graphics View, KDE, Labs, Qt

Feature freeze for 4.4 is closing in. The offices in the dev department are awfully quiet. A bit… too quiet. The snippety-snapping sound of brilliant minds tapping in code, merging changes, polishing APIs, writing tests, reviewing patches. An incredible atmosphere, you would have to just be there to sense it. This is the period of […]

Read More

Dialogs on the Canvas

Published Wednesday June 6th, 2007 | 9 Comments on Dialogs on the Canvas
Posted in Graphics View, KDE, Labs, Qt

With 4.3.0 released, it’s finally time to get back to maintenance and research again. It’s been both an exciting and exhausting release, and mostly we’re all very happy with the way things have gone. There’s certainly something special about features you spent so much time working on, popping up as topics in forums here and […]

Read More

MapReduce in Qt Concurrent

Published Thursday April 26th, 2007 | 2 Comments on MapReduce in Qt Concurrent
Posted in Labs, Qt Concurrent, Threads

MapReduce was originally developed by Google to simplify writing parallel algorithms for computer clusters. The basic idea is that you divide your algorithm into two parts: one part that can be run in parallel on individual pieces of the input data (‘map’), and one sequential part that collects the map results and produces the final […]

Read More
Get started today with Qt Download now