some interaction programmed in QT