working with the qt framework