g4display
Loading...
Searching...
No Matches
g4display.h
Go to the documentation of this file.
1#pragma once
2
3#include <QCoreApplication>
4
13
14// C++
15#include <memory>
16
17// gemc
18#include <gemc/gbase/gbase.h>
19
20// qt
21#include <QtWidgets/QWidget>
22
36class G4Display : public GBase<G4Display>, public QWidget
37{
38 Q_DECLARE_TR_FUNCTIONS(G4Display)
39public:
48 explicit G4Display(const std::shared_ptr<GOptions>& gopt, QWidget* parent = nullptr);
49
51 G4Display(const G4Display&) = delete;
52
54 G4Display& operator=(const G4Display&) = delete;
55};
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).
GBase(const std::shared_ptr< GOptions > &gopt, std::string logger_name="")