14 auto dialogTabs =
new QTabWidget;
16 gboard =
new GBoard(gopt,
this);
17 auto UIM = G4UImanager::GetUIpointer();
19 gui_session = std::make_unique<GUI_Session>(gopt, gboard);
20 UIM->SetCoutDestination(gui_session.get());
22 dialogTabs->addTab(
new G4Commands(
this),
"Geant4 Commands");
23 dialogTabs->addTab(gboard,
"Log");
25 auto* mainLayout =
new QVBoxLayout;
26 mainLayout->addWidget(dialogTabs);
27 setLayout(mainLayout);
29 log->debug(NORMAL,
"View and Utilities tabs added.");