#include "TLayout.h" TLayout::TLayout() : WTemplate { tr("tpl.LAYOUT") } { Section = 0; //Default-Value for Section //Binding Widgets to Page: mPageHead = bindWidget("PAGEHEAD", make_unique()); mNavigation = bindWidget("NAVIGATION", make_unique(this)); } void TLayout::switchSection(int aSec) { *Section = aSec; std::cout << "The Section is: " << aSec << std::endl; } TLayout::~TLayout() { //Free da Memory!! :D }