Create widget in pure C++

And Man, you are the real hero~