g4display
Loading...
Searching...
No Matches
g4display.h
Go to the documentation of this file.
1#pragma once
2
12// C++
13#include <memory>
14
15// gemc
16#include "gbase.h"
17
18// qt
19#include <QtWidgets/QWidget>
20
34class G4Display : public GBase<G4Display>, public QWidget
35{
36public:
45 explicit G4Display(const std::shared_ptr<GOptions>& gopt, QWidget* parent = nullptr);
46
48 G4Display(const G4Display&) = delete;
49
51 G4Display& operator=(const G4Display&) = delete;
52};
Main GUI container for Geant4 visualization controls.
Definition g4display.h:35
G4Display(const std::shared_ptr< GOptions > &gopt, QWidget *parent=nullptr)
Construct the main display widget.
Definition g4display.cc:12
G4Display & operator=(const G4Display &)=delete
Assignment is disabled for the same reason as copy construction.
G4Display(const G4Display &)=delete
Copy is disabled (Qt widgets are not safely copyable and ownership should remain explicit).