|
g4display
|
“Utilities” tab for G4Display. More...
#include <g4displayutilities.h>
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 is intended to host miscellaneous visualization helpers such as:
Lifetime and ownership:
this as parent are owned by Qt and deleted automatically.Definition at line 30 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 12 of file g4displayutilities.cc.
|
inlineoverride |
Emits a debug-level log message. Child widgets are deleted by Qt parent-child ownership.
Definition at line 53 of file g4displayutilities.h.