g4display
|
A utility widget for Geant4 display functionalities. More...
#include <g4displayutilities.h>
Public Member Functions | |
G4DisplayUtilities (GOptions *gopt, std::shared_ptr< GLogger > logger, QWidget *parent=nullptr) | |
Constructs a G4DisplayUtilities widget. More... | |
~G4DisplayUtilities () | |
Destructor. More... | |
G4DisplayUtilities provides a container for display utilities that interact with Geant4's UImanager, making it easier to control and manage visualization settings.
Definition at line 40 of file g4displayutilities.h.
G4DisplayUtilities::G4DisplayUtilities | ( | GOptions * | gopt, |
std::shared_ptr< GLogger > | logger, | ||
QWidget * | parent = nullptr |
||
) |
This constructor initializes the widget with configuration options and a logger. The widget's parent is set via the QWidget base class, ensuring that all child widgets are automatically managed.
gopt | Pointer to the GOptions object used for configuration. |
logger | Pointer to the shared GLogger instance for logging. |
parent | Optional parent QWidget. |
Definition at line 9 of file g4displayutilities.cc.
|
inline |
Logs a debug message upon destruction. Child widgets are automatically deleted by Qt.
Definition at line 62 of file g4displayutilities.h.