Move meta type declaration out of MainWindow