15 log->debug(CONSTRUCTOR,
"G4Display");
17 auto dialogTabs =
new QTabWidget;
21 dialogTabs->addTab(
new G4DisplayView(gopt, log,
this), tr(
"View"));
27 QVBoxLayout *mainLayout =
new QVBoxLayout;
28 mainLayout->addWidget(dialogTabs);
29 setLayout(mainLayout);
32 log->debug(NORMAL,
"View and Utilities tabs added.");
38 log->debug(DESTRUCTOR,
"G4Display");
A utility widget for Geant4 display functionalities.
A QWidget tab providing controls for Geant4 camera, lighting, slicing, and view styles.
~G4Display() override
Destructor. Manages the lifetime of owned resources (like the logger).
G4Display(GOptions *gopt, QWidget *parent=nullptr)
Constructs the G4Display widget.
constexpr const char * G4DISPLAY_LOGGER