fix inconsistent indentions
update annotationBoard to qt4

removed use of qt3support widgets and any deprecated
methods.  Also added DoneApplyCancelWidget to be used in
other dialogs where this Done, Apply and Cancel buttons
appear on the lower right side.
updated some qt3-deprecated methods

related to QDialog and QSpinBox
cleanup MainForm and upgrade to qt4

updated some qt3-deprecated methods.  also did
some (but not all) cleanup of the code.