Add a class to create widgets which have both Qt and SFML behaviors.