How do I create a new widget element?

Nevermind I found what I was looking for. Looking at the UImage header i found out it is a child of the UWidget class, that was my goal. Thanks anyway.