added qt interface