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

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

#include <quantumzenoplotwidget.h>

Public Member Functions

 QuantumZenoPlotWidget (QWidget *parent=nullptr)
 Performs quantum zeno plot widget.
 
void setData (const qpe::QuantumZenoHistory2D &history, const qpe::QuantumZenoProfile2D &profile)
 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::QuantumZenoHistory2D * history_ = nullptr
 
qpe::QuantumZenoProfile2D profile_
 

Detailed Description

Qt visualization component for Quantum Zeno Plot Widget.

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

Definition at line 27 of file quantumzenoplotwidget.h.

Constructor & Destructor Documentation

◆ QuantumZenoPlotWidget()

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

Performs quantum zeno plot widget.

Parameters
parentOptional Qt parent object/widget.

Definition at line 25 of file quantumzenoplotwidget.cpp.

Member Function Documentation

◆ clear()

void QuantumZenoPlotWidget::clear ( )

Performs clear.

Definition at line 39 of file quantumzenoplotwidget.cpp.

References history_, and profile_.

◆ minimumSizeHint()

QSize QuantumZenoPlotWidget::minimumSizeHint ( ) const
override

Performs minimum size hint.

Definition at line 46 of file quantumzenoplotwidget.cpp.

◆ paintEvent()

◆ setData()

void QuantumZenoPlotWidget::setData ( const qpe::QuantumZenoHistory2D & history,
const qpe::QuantumZenoProfile2D & profile )

Sets data.

Parameters
historyThe history value used by the operation.
profileThe profile value used by the operation.

Definition at line 31 of file quantumzenoplotwidget.cpp.

References history_, and profile_.

Member Data Documentation

◆ history_

const qpe::QuantumZenoHistory2D* QuantumZenoPlotWidget::history_ = nullptr
private

Definition at line 60 of file quantumzenoplotwidget.h.

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

◆ profile_

qpe::QuantumZenoProfile2D QuantumZenoPlotWidget::profile_
private

Definition at line 61 of file quantumzenoplotwidget.h.

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


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