Search Results for:

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

System tray update

Published Wednesday December 6th, 2006 | 1 Comment on System tray update
Posted in KDE, Qt

Thanks to some great work by Sam Magnuson, QSystemTrayIcon::showMessage() will support Growl on the mac in Qt 4.3. With this change, supportsMessages() no longer returns false on any of our desktop platforms. Here’s the obligatory screenshot: Note that the documentation for showMessage() states that messages are not guaranteed to be displayed. As a result, we […]

Read More
Simon Hausmann

x11 font fun

Published Friday December 1st, 2006 | 4 Comments on x11 font fun
Posted in Qt

After essentially moving around some code (trying to avoid the word ‘refactoring’ ๐Ÿ™‚ we managed to fix a little annoyance with text drawing that is now also in the X11 4.3 snapshots: Text that is drawn onto QImage objects is now rendered using freetype instead of plain paths, which looks so much better. And on […]

Read More

Zoom-and-rotate on mouseover effect in Graphics View

Published Thursday November 30th, 2006 | 3 Comments on Zoom-and-rotate on mouseover effect in Graphics View
Posted in Graphics Items, Graphics View, Labs, Qt

Have you seen flash-interfaces with controls that grow and twist when you move your mouse over them? Here’s how to do that in Graphics View. I was so surprised at how easy it was that I thought I’d share it. Here’s a screenshot, just so you know what I’m talking about: I’ll do this in […]

Read More

qdasher updated

Published Friday November 24th, 2006 | 4 Comments on qdasher updated
Posted in KDE, Qt, Qtopia

I’ve put up a new version of qdasher (qdasher-20061124.tar.gz), the Qt4 port of Dasher. I’ve managed to get it down to about 20% CPU usage when running in fullscreen on my standard Pentium IV machine. It runs nice and smooth on our embedded hardware. If dasher is paused, no CPU cycles will be wasted (unless […]

Read More
Get started today with Qt Download now