Ported to Qt5. Test class added (empty). Reset functionality added.