|
g4display
|
“Utilities” tab for G4Display. More...
#include <g4displayutilities.h>
Signals | |
| void | sceneOptionsChanged () |
Public Member Functions | |
| G4DisplayUtilities (const std::shared_ptr< GOptions > &gopt, std::shared_ptr< GLogger > logger, QWidget *parent=nullptr) | |
| Construct the utilities tab widget. | |
| ~G4DisplayUtilities () override | |
| Destructor. | |
This widget is placed in the “Utilities” tab of G4Display. It hosts scene decoration and text controls that redraw the persistent visualization scene when applied, plus an XR Server button. The button opens the XR driver, draws the geometry, adds rich trajectories, accumulates up to 100 events, runs one event, and flushes the viewer. The sequence stops if a Geant4 command fails.
Lifetime and ownership:
this as parent are owned by Qt and deleted automatically.Definition at line 32 of file g4displayutilities.h.
| G4DisplayUtilities::G4DisplayUtilities | ( | const std::shared_ptr< GOptions > & | gopt, |
| std::shared_ptr< GLogger > | logger, | ||
| QWidget * | parent = nullptr ) |
The constructor stores a shared logger and builds the tab contents.
| gopt | Shared options object used by the module (may be unused in early implementations). |
| logger | Shared logger instance (created/owned upstream, typically by G4Display). |
| parent | Optional Qt parent widget for ownership management. |
Definition at line 68 of file g4displayutilities.cc.
|
inlineoverride |
Emits a debug-level log message. Child widgets are deleted by Qt parent-child ownership.
Definition at line 55 of file g4displayutilities.h.
|
signal |