can not connect signal to a function not in class of MainForm =_=