Same as the title:
What header file do I include to access UUserWidget?
#How to Extend UserWidget in C++
Wiki Tutorial by WCode
A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums.
#include "Runtime/UMG/Public/UMG.h"
#include "Runtime/UMG/Public/UMGStyle.h"
#include "Runtime/UMG/Public/Slate/SObjectWidget.h"
#include "Runtime/UMG/Public/IUMGModule.h"
#include "Runtime/UMG/Public/Blueprint/UserWidget.h"
See tutorial for full details including required build cs additions of UMG,Slate, SlateCore
Rama