test with a qpushbutton and a qmenu