Sunday, July 26, 2009

Super-splitting, family law and QT

The Australian government introduced a scheme to split superannuation as part of divorce settlement. And formulae to determine how this should be done.

Makes for some interesting work.


Saturday, July 18, 2009

QT just gets better and better

I always found desktop app development using VC++ 6 and MFC a bit... tedious, especially next to many of the alternatives.

Years and years ago I found VB really easy. Years ago I found Delphi easy. In the last 10 years I've mostly been using Java Swing and I feel I can be very productive without much pain as well.

Well, surprisingly QT is a smooth ride. I never really checked it out until recently but I have to say I really like it.

QT Creator
just gets better and better.


Wednesday, July 08, 2009

Showing/Hiding Maximize/Minimize buttons on QMdiSubWindow

The documentation for both the API and an example usage is great, but I thought I'd post this Blog Entry in any case because when you go Googling for a problem solution the more chances of finding the answer the better.

Update: Some code text for copy and pasting

QMdiSubWindow *win = new QMdiSubWindow;
win ->setWidget(child);
win ->setWindowTitle("Black Scholes");

Qt::WindowFlags flags;
flags = Qt::WindowMinimizeButtonHint;
win->setWindowFlags( flags );