Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
Loading...
Searching...
No Matches
quantumkleintunnelingplotwidget.h
Go to the documentation of this file.
1/**
2 * @file quantumkleintunnelingplotwidget.h
3 * @brief Declares the quantumkleintunnelingplotwidget visualization component used by QPE.
4 * @ingroup qpe_graphics
5 *
6 * Source: @c graphics/renderer/quantumkleintunnelingplotwidget.h. This file is part of Quantum Phenomena Explorer (QPE),
7 * maintained by Officina Turini. See LICENSE_IT.txt / LICENSE.txt for the
8 * QPE freeware source-available terms and THIRD_PARTY_NOTICES.txt for
9 * third-party components.
10 */
11
12#pragma once
13#include <QWidget>
15
16/**
17 * @brief Qt visualization component for Quantum Klein Tunneling Plot Widget.
18 *
19 * The class presents computed state to the user and does not alter the propagated physical state.
20 */
21class QuantumKleinTunnelingPlotWidget : public QWidget
22{
23public:
24 /**
25 * @brief Performs quantum klein tunneling plot widget.
26 * @param parent Optional Qt parent object/widget.
27 */
28 explicit QuantumKleinTunnelingPlotWidget(QWidget *parent=nullptr);
29 /**
30 * @brief Sets data.
31 * @param history The history value used by the operation.
32 */
34 /**
35 * @brief Performs clear.
36 */
37 void clear();
38 /**
39 * @brief Performs minimum size hint.
40 */
41 QSize minimumSizeHint() const override;
42protected:
43 /**
44 * @brief Paints event.
45 * @param event Qt event being handled.
46 */
47 void paintEvent(QPaintEvent *event) override;
48private:
50};
Qt visualization component for Quantum Klein Tunneling Plot Widget.
QuantumKleinTunnelingPlotWidget(QWidget *parent=nullptr)
Performs quantum klein tunneling plot widget.
const qpe::QuantumKleinTunnelingHistory2D * history_
void paintEvent(QPaintEvent *event) override
Paints event.
void setData(const qpe::QuantumKleinTunnelingHistory2D &history)
Sets data.
QSize minimumSizeHint() const override
Performs minimum size hint.
Implements the Quantum Klein Tunneling History2D component.
Declares the quantumkleintunneling2d physics/numerical component used by QPE experiments.