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

Qt visualization component for Quantum Klein Tunneling Plot Widget. More...

#include <quantumkleintunnelingplotwidget.h>

Public Member Functions

 QuantumKleinTunnelingPlotWidget (QWidget *parent=nullptr)
 Performs quantum klein tunneling plot widget.
 
void setData (const qpe::QuantumKleinTunnelingHistory2D &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::QuantumKleinTunnelingHistory2D * history_ = nullptr
 

Detailed Description

Qt visualization component for Quantum Klein Tunneling Plot Widget.

The class presents computed state to the user and does not alter the propagated physical state.

Definition at line 21 of file quantumkleintunnelingplotwidget.h.

Constructor & Destructor Documentation

◆ QuantumKleinTunnelingPlotWidget()

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

Performs quantum klein tunneling plot widget.

Parameters
parentOptional Qt parent object/widget.

Definition at line 18 of file quantumkleintunnelingplotwidget.cpp.

Member Function Documentation

◆ clear()

void QuantumKleinTunnelingPlotWidget::clear ( )

Performs clear.

Definition at line 20 of file quantumkleintunnelingplotwidget.cpp.

References history_.

◆ minimumSizeHint()

QSize QuantumKleinTunnelingPlotWidget::minimumSizeHint ( ) const
override

Performs minimum size hint.

Definition at line 21 of file quantumkleintunnelingplotwidget.cpp.

◆ paintEvent()

◆ setData()

void QuantumKleinTunnelingPlotWidget::setData ( const qpe::QuantumKleinTunnelingHistory2D & history)

Sets data.

Parameters
historyThe history value used by the operation.

Definition at line 19 of file quantumkleintunnelingplotwidget.cpp.

References history_.

Member Data Documentation

◆ history_

const qpe::QuantumKleinTunnelingHistory2D* QuantumKleinTunnelingPlotWidget::history_ = nullptr
private

Definition at line 49 of file quantumkleintunnelingplotwidget.h.

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


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