Pattern to work with QtE

Pattern to work with QtE