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

Qt visualization component for Quantum Moshinsky Plot Widget. More...

#include <quantummoshinskyplotwidget.h>

Public Member Functions

 QuantumMoshinskyPlotWidget (QWidget *parent=nullptr)
 Performs quantum moshinsky plot widget.
 
void setData (const qpe::QuantumMoshinskyHistory2D &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::QuantumMoshinskyHistory2D * history_ = nullptr
 

Detailed Description

Qt visualization component for Quantum Moshinsky Plot Widget.

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

Definition at line 23 of file quantummoshinskyplotwidget.h.

Constructor & Destructor Documentation

◆ QuantumMoshinskyPlotWidget()

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

Performs quantum moshinsky plot widget.

Parameters
parentOptional Qt parent object/widget.

Definition at line 47 of file quantummoshinskyplotwidget.cpp.

Member Function Documentation

◆ clear()

void QuantumMoshinskyPlotWidget::clear ( )

Performs clear.

Definition at line 59 of file quantummoshinskyplotwidget.cpp.

References history_.

◆ minimumSizeHint()

QSize QuantumMoshinskyPlotWidget::minimumSizeHint ( ) const
override

Performs minimum size hint.

Definition at line 65 of file quantummoshinskyplotwidget.cpp.

◆ paintEvent()

◆ setData()

void QuantumMoshinskyPlotWidget::setData ( const qpe::QuantumMoshinskyHistory2D & history)

Sets data.

Parameters
historyThe history value used by the operation.

Definition at line 53 of file quantummoshinskyplotwidget.cpp.

References history_.

Member Data Documentation

◆ history_

const qpe::QuantumMoshinskyHistory2D* QuantumMoshinskyPlotWidget::history_ = nullptr
private

Definition at line 54 of file quantummoshinskyplotwidget.h.

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


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