g4display
Loading...
Searching...
No Matches
G4DisplayUtilities Class Reference

“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.
 

Detailed Description

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.

Lifetime and ownership:

  • Child widgets created with this as parent are owned by Qt and deleted automatically.
  • Logging uses the shared Glogger instance passed by the parent G4Display.

Definition at line 30 of file g4displayutilities.h.

Constructor & Destructor Documentation

◆ G4DisplayUtilities()

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.

Parameters
goptShared options object used by the module (may be unused in early implementations).
loggerShared logger instance (created/owned upstream, typically by G4Display).
parentOptional Qt parent widget for ownership management.

Definition at line 68 of file g4displayutilities.cc.

◆ ~G4DisplayUtilities()

G4DisplayUtilities::~G4DisplayUtilities ( )
inlineoverride

Emits a debug-level log message. Child widgets are deleted by Qt parent-child ownership.

Definition at line 53 of file g4displayutilities.h.

Member Function Documentation

◆ sceneOptionsChanged

void G4DisplayUtilities::sceneOptionsChanged ( )
signal

The documentation for this class was generated from the following files: