Main GUI container for Geant4 visualization controls.
More...
#include <g4display.h>
G4Display:
- owns/uses the module logger (via its GBase inheritance),
- builds a
QTabWidget containing visualization control panels (e.g. G4DisplayView),
- is typically embedded into a higher-level application window.
Ownership model:
- Tabs are created as child widgets of the G4Display instance; Qt manages their lifetime.
- Copy is disabled to avoid unintended QWidget copying and logger ownership issues.
Definition at line 34 of file g4display.h.
◆ G4Display() [1/2]
| G4Display::G4Display |
( |
const std::shared_ptr< GOptions > & | gopt, |
|
|
QWidget * | parent = nullptr ) |
|
explicit |
The constructor initializes the base logger for the "g4display" module and creates the tabbed UI.
- Parameters
-
| gopt | Shared options object used to configure the module and logging. |
| parent | Optional Qt parent widget for ownership management. |
Definition at line 12 of file g4display.cc.
◆ G4Display() [2/2]
◆ operator=()
The documentation for this class was generated from the following files: