a slint implemented with c++