|
Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
|
Qt visualization component for Quantum Anderson Plot Widget. More...
#include <quantumandersonplotwidget.h>
Public Member Functions | |
| QuantumAndersonPlotWidget (QWidget *parent=nullptr) | |
| Performs quantum anderson plot widget. | |
| void | setData (const qpe::QuantumAndersonHistory2D &history, double mass, double hbar) |
| 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::QuantumAndersonHistory2D * | history_ = nullptr |
| double | mass_ = 1.0 |
| double | hbar_ = 1.0 |
Qt visualization component for Quantum Anderson Plot Widget.
The class presents computed state to the user and does not alter the propagated physical state.
Definition at line 25 of file quantumandersonplotwidget.h.
|
explicit |
Performs quantum anderson plot widget.
| parent | Optional Qt parent object/widget. |
Definition at line 25 of file quantumandersonplotwidget.cpp.
| void QuantumAndersonPlotWidget::clear | ( | ) |
|
override |
Performs minimum size hint.
Definition at line 46 of file quantumandersonplotwidget.cpp.
|
overrideprotected |
Paints event.
| event | Qt event being handled. |
Definition at line 51 of file quantumandersonplotwidget.cpp.
References qpe::QuantumAndersonSample2D::clean, qpe::QuantumAndersonHistory2D::configured(), qpe::QuantumAndersonSample2D::disorder, qpe::QuantumAndersonHistory2D::empty(), history_, qpe::QuantumAndersonHistory2D::lattice(), qpe::QuantumAndersonLaneSample2D::marginalX, qpe::QuantumAndersonLaneSample2D::profileDx, qpe::QuantumAndersonLaneSample2D::profileXMin, qpe::QuantumAndersonHistory2D::samples(), qpe::QuantumAndersonLattice2D::siteX, and qpe::QuantumAndersonLattice2D::spacing.
| void QuantumAndersonPlotWidget::setData | ( | const qpe::QuantumAndersonHistory2D & | history, |
| double | mass, | ||
| double | hbar ) |
Sets data.
| history | The history value used by the operation. |
| mass | The mass value used by the operation. |
| hbar | The hbar value used by the operation. |
Definition at line 31 of file quantumandersonplotwidget.cpp.
|
private |
Definition at line 61 of file quantumandersonplotwidget.h.
Referenced by setData().
|
private |
Definition at line 59 of file quantumandersonplotwidget.h.
Referenced by clear(), paintEvent(), and setData().
|
private |
Definition at line 60 of file quantumandersonplotwidget.h.
Referenced by setData().