test file mainwindow.cpp