Main

May 18, 2007

Yet another test of QTM

If you are reading this, you have come to the wrong place. This is now just a dummy blog that I use to test QTM features.

If you are looking for QTM, click here.

October 29, 2006

More Qt 4.2 progress

It's been a long while since I last made an update release of QTM. What happened was that I was working on fixing a crash bug which turned out to be a much simpler matter than I had originally thought (that I was continually deleting the HTTP object when there was no need to). Then I got side-tracked, as the Qt 4.2 release candidate came out, with its new system tray icon class being a particularly attractive feature. Instead of doing the logical thing and releasing a version of QTM with the crash bug fixed, I decided to explore the STI feature.

I have now implemented a functional system tray icon. The STI works on any system which actually has a system tray, namely KDE, GNOME, IceWM, Windows and the Mac. There are, however, irritating glitches on all platforms. On KDE and, to a lesser extent, GNOME, right-clicking on the icon does not guarantee bringing up the QTM menu; it may bring up the environment's system tray menu instead. You may have to left-click a couple of times before you get QTM's own menu. On the Mac, when starting the app and only displaying the icon, as opposed to a new entry as well, it leaves you with an empty menu bar rather than simply handing back control to whatever you were running before; on the Mac and Windows, closing down from the STI does not always work as it should.

What I will probably do is release a version 0.3.10 as a stable release with the STI isolated. One Qt 4.2 feature which will be in 0.3.10 is a better font selection dialog, integrated into the main preferences window, which uses the new Qt font selector. The program will be structured so that the old preferences dialog will load instead on Qt 4.1.

And here are some screenshots, starting with the new, improved preferences window (so far only implemented for Qt 4.2):

qtm-sti-menu1.png

July 19, 2004

Started on SFTP support

Today I seriously started on providing SFTP support for uploading a blog. I've found a SSH library by a guy called Aris in Belgium, which is written in C and contains a set of dedicated SFTP functions, so that should make things easier. I've provided a selector in the preferences dialog box, so that the user can select whether to use FTP or SFTP (or none). Trouble is, the radio button type selector doesn't work very well, and when it displays on a Mac it doesn't look very good. And another Qt bug appears when you use the layout device in Qt designer. Basically it puts a red box round a set of widgets in Qt designer, but when it comes up in your program, the outer edges of the widgets just disappear. I should take screenshots of these bugs and send them to Qt - I've since removed the buttons, and replaced them with a "combo box".

I've not even started writing the actual SFTP upload routines yet, though. It looks like they may block the normal operation of the program, which the Qt FTP upload features don't.