Search Results for:

Hands on QGraphicsScene’s index

Published Monday December 18th, 2006 | 3 Comments on Hands on QGraphicsScene’s index
Posted in Graphics Items, Graphics View, KDE, Labs, Qt, Qtopia

Some people have asked if they can have more explicit control over how QGraphicsScene’s index works. If you’ve got concrete suggestions, please post comments to this post, or send us an email, or post a suggestion through our public feedback form. Some suggestions we’ve got so far are: setting the depth of the tree, forcing […]

Read More

Locating Files

Published Saturday December 16th, 2006 | 2 Comments on Locating Files
Posted in Qt

It’s time for another lazy Saturday afternoon blog entry. Lazy because that’s how I like Saturdays. No emails that need answering, no tasks that need fixing, just doing what I feel like. Sometimes hacking, sometimes making music, sometimes chatting. And almost traditionally some good Italian food. But let’s digress towards a neat feature in Qt […]

Read More

California and Cheese

Published Friday December 15th, 2006 | Comments Off on California and Cheese
Posted in Aggregated

Last week I was in California with Lars. It was a pretty vicious trip. Partially caused by the fact that I abhor flying. I don’t have anything against the action of flying itself, but I do have a lot against the airlines. And the fact that Snapple icetea has been taken away from me 3 […]

Read More
Lorn Potter

vegetarians and qtopia

Published Friday December 15th, 2006 | 1 Comment on vegetarians and qtopia
Posted in Qt, Qtopia

“A British study of more them 8000 men and women aged 30 whose IQs had been measured when they were 10, showed that the higher the IQ, the greater the odds of being a vegetarian.” “http://www.news.com.au/story/0,23599,20931861-1702,00.html What does this have to do with Qtopia? Only that in our Brissie office, there are at least 5 […]

Read More

Interact with volatile graphics items

Published Friday December 15th, 2006 | 2 Comments on Interact with volatile graphics items
Posted in Graphics Items, Graphics View, KDE, Labs, Qt

I hacked together some code today for interacting with a QGraphicsItem while its transformation changes. The problem? QGraphicsItem’s events are always delivered in local coordinates, and operations in response to such events that change item’s transformation (scale it, or move it, or shear it) will leave its local coordinates intact, but might change its relative […]

Read More

Has anyone seen QDirIterator?

Published Thursday December 14th, 2006 | 2 Comments on Has anyone seen QDirIterator?
Posted in KDE, Qt, Qtopia

Recently QDirIterator showed up in the Qt 4.3 snapshots. Doesn’t have that many bells and whistles, but it’s a pretty useful tool. Here’s how to use it: QDirIterator it(“testDir/”); while (it.hasNext()) { qDebug() < < it.next(); // "testDir/." // "testDir/.." // "testDir/directory" // "testDir/file.txt" // "testDir/otherFile.txt" // "testDir/otherDirectory" // "testDir/symlink" // ... } It provides […]

Read More
Lorn Potter

Qtopia Core plugins

Published Sunday December 10th, 2006 | 2 Comments on Qtopia Core plugins
Posted in Qt, Qtopia

One of the many improvements to Qtopia Core over Qt Embedded 2, is that it has support for plugins, specifically keyboard and mouse plugins. So we no longer need to patch Qt for device specific keyboard and mouse (touchscreen) handlers. Woot! http://doc.trolltech.com/4.2/qwskeyboardhandler.html http://doc.trolltech.com/4.2/qwsmousehandler.html And, Qtopia has extended this a bit in the form of device […]

Read More

Surfing with the Greenphone

Published Friday December 8th, 2006 | 2 Comments on Surfing with the Greenphone
Posted in Qt

To test some Software on the Greenphone, it might be handy to connect to the internet using the USB cable. To achieve this, connect the Greenphone to your machine and run the following script on the Greenphone SDK (as root user): #!/bin/sh # the external interface EXTIF=eth0 # the Greenphone interface GREENIF=eth1 # enable forwarding […]

Read More

Greenphone without VMware

Published Thursday December 7th, 2006 | Comments Off on Greenphone without VMware
Posted in Qt

The Greenphone SDK comes as a pre-installed VMware image with a ready-to-go development environment which runs on Linux, Windows and soon on the Intel Macs as well. If you already have a GNU/Linux box, you might not want to use the image, though, because you’ll lose all those little macros and settings that make your […]

Read More
Get started today with Qt Download now