17 auto menuBar =
new QMenuBar();
18 auto newAction = menuBar->addAction(
"New..");
19 auto saveAction = menuBar->addAction(
"Save..");
20 auto loadAction = menuBar->addAction(
"Load..");
21 auto clearAction = menuBar->addAction(
"Clear..");
23 QVBoxLayout *l =
new QVBoxLayout(
this);
28 l->setContentsMargins(0, 0, 0, 0);