started porting to Qt5
ported to Qt5