|
Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
|
Qt visualization component for Quantum Kicked Rotor Plot Widget. More...
#include <quantumkickedrotorplotwidget.h>
Public Member Functions | |
| QuantumKickedRotorPlotWidget (QWidget *parent=nullptr) | |
| Performs quantum kicked rotor plot widget. | |
| void | setData (const qpe::QuantumKickedRotorHistory2D &history) |
| 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::QuantumKickedRotorHistory2D * | history_ = nullptr |
Qt visualization component for Quantum Kicked Rotor Plot Widget.
The class presents computed state to the user and does not alter the propagated physical state.
Definition at line 25 of file quantumkickedrotorplotwidget.h.
|
explicit |
Performs quantum kicked rotor plot widget.
| parent | Optional Qt parent object/widget. |
Definition at line 52 of file quantumkickedrotorplotwidget.cpp.
| void QuantumKickedRotorPlotWidget::clear | ( | ) |
Performs clear.
Definition at line 64 of file quantumkickedrotorplotwidget.cpp.
References history_.
|
override |
Performs minimum size hint.
Definition at line 70 of file quantumkickedrotorplotwidget.cpp.
|
overrideprotected |
Paints event.
| event | Qt event being handled. |
Definition at line 75 of file quantumkickedrotorplotwidget.cpp.
References qpe::QuantumKickedRotorHistory2D::configured(), qpe::QuantumKickedRotorHistory2D::empty(), history_, qpe::QuantumKickedRotorSample2D::kickCount, qpe::QuantumKickedRotorSample2D::modeMin, qpe::QuantumKickedRotorSample2D::modeProbability, qpe::QuantumKickedRotorSample2D::modeStep, and qpe::QuantumKickedRotorHistory2D::samples().
| void QuantumKickedRotorPlotWidget::setData | ( | const qpe::QuantumKickedRotorHistory2D & | history | ) |
Sets data.
| history | The history value used by the operation. |
Definition at line 58 of file quantumkickedrotorplotwidget.cpp.
References history_.
|
private |
Definition at line 56 of file quantumkickedrotorplotwidget.h.
Referenced by clear(), paintEvent(), and setData().