Qt 06.03 calculate with main window.