#include "myapplication.h" #include #include MyApplication::MyApplication(const WEnvironment& environment) :WApplication(environment) { WVBoxLayout* rootLayout = new WVBoxLayout(); root()->setLayout(rootLayout); WContainerWidget* container = new WContainerWidget(root()); container->decorationStyle().setBackgroundColor(WColor("black")); container->setMinimumSize(WLength(750), WLength(470)); rootLayout->addWidget(container); }