|
Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
|
Qt visualization component for Quantum Dirac Massless Comparison Plot Widget. More...
#include <quantumdiracmasslesscomparisonplotwidget.h>
Public Member Functions | |
| QuantumDiracMasslessComparisonPlotWidget (QWidget *parent=nullptr) | |
| Performs quantum dirac massless comparison plot widget. | |
| void | setData (const qpe::QuantumDiracMasslessComparison2DResult &scan, double currentAngleDegrees, double packetTransmission=-1.0) |
| Sets data. | |
| void | clear () |
| Performs clear. | |
| QSize | minimumSizeHint () const override |
| Performs minimum size hint. | |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *event) override |
| Paints event. | |
Private Attributes | |
| qpe::QuantumDiracMasslessComparison2DResult | scan_ |
| double | currentAngleDegrees_ = 0.0 |
| double | packetTransmission_ = -1.0 |
Qt visualization component for Quantum Dirac Massless Comparison Plot Widget.
The class presents computed state to the user and does not alter the propagated physical state.
Definition at line 22 of file quantumdiracmasslesscomparisonplotwidget.h.
|
explicit |
Performs quantum dirac massless comparison plot widget.
| parent | Optional Qt parent object/widget. |
Definition at line 21 of file quantumdiracmasslesscomparisonplotwidget.cpp.
| void QuantumDiracMasslessComparisonPlotWidget::clear | ( | ) |
Performs clear.
Definition at line 37 of file quantumdiracmasslesscomparisonplotwidget.cpp.
References packetTransmission_, and scan_.
|
override |
Performs minimum size hint.
Definition at line 44 of file quantumdiracmasslesscomparisonplotwidget.cpp.
|
overrideprotected |
Paints event.
| event | Qt event being handled. |
Definition at line 49 of file quantumdiracmasslesscomparisonplotwidget.cpp.
References qpe::QuantumDiracMasslessComparisonPoint2D::angleDegrees, qpe::QuantumDiracMasslessComparison2DResult::barrierHeight, qpe::QuantumDiracMasslessComparison2DResult::barrierWidth, currentAngleDegrees_, qpe::QuantumDiracMasslessComparison2DResult::fixedIncidentEnergy, qpe::QuantumDiracMasslessComparison2DResult::massiveMomentumMagnitude, qpe::QuantumDiracMasslessComparison2DResult::massiveRestMass, qpe::QuantumDiracMasslessComparisonPoint2D::massiveTransmission, qpe::QuantumDiracMasslessComparison2DResult::masslessMomentumMagnitude, qpe::QuantumDiracMasslessComparisonPoint2D::masslessTransmission, qpe::QuantumDiracMasslessComparison2DResult::maximumAngleDegrees, qpe::QuantumDiracMasslessComparison2DResult::minimumAngleDegrees, packetTransmission_, qpe::QuantumDiracMasslessComparison2DResult::points, scan_, qpe::QuantumDiracMasslessComparison2DResult::valid, and qpe::QuantumDiracMasslessComparisonPoint2D::valid.
| void QuantumDiracMasslessComparisonPlotWidget::setData | ( | const qpe::QuantumDiracMasslessComparison2DResult & | scan, |
| double | currentAngleDegrees, | ||
| double | packetTransmission = -1.0 ) |
Sets data.
| scan | The scan value used by the operation. |
| currentAngleDegrees | The current angle degrees value used by the operation. |
| packetTransmission | The packet transmission value used by the operation. |
Definition at line 26 of file quantumdiracmasslesscomparisonplotwidget.cpp.
References currentAngleDegrees_, packetTransmission_, and scan_.
|
private |
Definition at line 57 of file quantumdiracmasslesscomparisonplotwidget.h.
Referenced by paintEvent(), and setData().
|
private |
Definition at line 58 of file quantumdiracmasslesscomparisonplotwidget.h.
Referenced by clear(), paintEvent(), and setData().
|
private |
Definition at line 56 of file quantumdiracmasslesscomparisonplotwidget.h.
Referenced by clear(), paintEvent(), and setData().