Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
Loading...
Searching...
No Matches
QuantumAndersonPlotWidget Class Referencefinal

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ QuantumAndersonPlotWidget()

QuantumAndersonPlotWidget::QuantumAndersonPlotWidget ( QWidget * parent = nullptr)
explicit

Performs quantum anderson plot widget.

Parameters
parentOptional Qt parent object/widget.

Definition at line 25 of file quantumandersonplotwidget.cpp.

Member Function Documentation

◆ clear()

void QuantumAndersonPlotWidget::clear ( )

Performs clear.

Definition at line 40 of file quantumandersonplotwidget.cpp.

References history_.

◆ minimumSizeHint()

QSize QuantumAndersonPlotWidget::minimumSizeHint ( ) const
override

Performs minimum size hint.

Definition at line 46 of file quantumandersonplotwidget.cpp.

◆ paintEvent()

◆ setData()

void QuantumAndersonPlotWidget::setData ( const qpe::QuantumAndersonHistory2D & history,
double mass,
double hbar )

Sets data.

Parameters
historyThe history value used by the operation.
massThe mass value used by the operation.
hbarThe hbar value used by the operation.

Definition at line 31 of file quantumandersonplotwidget.cpp.

References hbar_, history_, and mass_.

Member Data Documentation

◆ hbar_

double QuantumAndersonPlotWidget::hbar_ = 1.0
private

Definition at line 61 of file quantumandersonplotwidget.h.

Referenced by setData().

◆ history_

const qpe::QuantumAndersonHistory2D* QuantumAndersonPlotWidget::history_ = nullptr
private

Definition at line 59 of file quantumandersonplotwidget.h.

Referenced by clear(), paintEvent(), and setData().

◆ mass_

double QuantumAndersonPlotWidget::mass_ = 1.0
private

Definition at line 60 of file quantumandersonplotwidget.h.

Referenced by setData().


The documentation for this class was generated from the following files: