Qt version. I leave the rest to nyanpasu