To program a Display or other Qt based visualizations you need to see the mainpage_adtfui_pkg!
Use them as templates for your own implementations or inside your productive toolchain, they are fully supported and ready in productive setups.