|
Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
|
Qt visualization component for Quantum Zeno Plot Widget. More...
#include <quantumzenoplotwidget.h>
Public Member Functions | |
| QuantumZenoPlotWidget (QWidget *parent=nullptr) | |
| Performs quantum zeno plot widget. | |
| void | setData (const qpe::QuantumZenoHistory2D &history, const qpe::QuantumZenoProfile2D &profile) |
| 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 | |
| const qpe::QuantumZenoHistory2D * | history_ = nullptr |
| qpe::QuantumZenoProfile2D | profile_ |
Qt visualization component for Quantum Zeno Plot Widget.
The class presents computed state to the user and does not alter the propagated physical state.
Definition at line 27 of file quantumzenoplotwidget.h.
|
explicit |
Performs quantum zeno plot widget.
| parent | Optional Qt parent object/widget. |
Definition at line 25 of file quantumzenoplotwidget.cpp.
| void QuantumZenoPlotWidget::clear | ( | ) |
Performs clear.
Definition at line 39 of file quantumzenoplotwidget.cpp.
|
override |
Performs minimum size hint.
Definition at line 46 of file quantumzenoplotwidget.cpp.
|
overrideprotected |
Paints event.
| event | Qt event being handled. |
Definition at line 51 of file quantumzenoplotwidget.cpp.
References qpe::QuantumZenoHistory2D::config(), qpe::QuantumZenoHistory2D::configured(), qpe::QuantumZenoProfile2D::control, qpe::QuantumZenoProfile2D::dx, qpe::QuantumZenoHistory2D::empty(), history_, qpe::QuantumZenoSample2D::measurementCount, profile_, qpe::QuantumZenoHistory2D::samples(), qpe::QuantumZeno2DConfig::survivalBoundaryX, qpe::QuantumZenoProfile2D::watched, and qpe::QuantumZenoProfile2D::xMin.
| void QuantumZenoPlotWidget::setData | ( | const qpe::QuantumZenoHistory2D & | history, |
| const qpe::QuantumZenoProfile2D & | profile ) |
Sets data.
| history | The history value used by the operation. |
| profile | The profile value used by the operation. |
Definition at line 31 of file quantumzenoplotwidget.cpp.
|
private |
Definition at line 60 of file quantumzenoplotwidget.h.
Referenced by clear(), paintEvent(), and setData().
|
private |
Definition at line 61 of file quantumzenoplotwidget.h.
Referenced by clear(), paintEvent(), and setData().