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

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

#include <quantumscarplotwidget.h>

Public Member Functions

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

Detailed Description

Qt visualization component for Quantum Scar Plot Widget.

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

Definition at line 23 of file quantumscarplotwidget.h.

Constructor & Destructor Documentation

◆ QuantumScarPlotWidget()

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

Performs quantum scar plot widget.

Parameters
parentOptional Qt parent object/widget.

Definition at line 86 of file quantumscarplotwidget.cpp.

Member Function Documentation

◆ clear()

void QuantumScarPlotWidget::clear ( )

Performs clear.

Definition at line 99 of file quantumscarplotwidget.cpp.

References history_.

◆ minimumSizeHint()

QSize QuantumScarPlotWidget::minimumSizeHint ( ) const
override

Performs minimum size hint.

Definition at line 105 of file quantumscarplotwidget.cpp.

◆ paintEvent()

◆ setData()

void QuantumScarPlotWidget::setData ( const qpe::QuantumScarHistory2D & history)

Sets data.

Parameters
historyThe history value used by the operation.

Definition at line 93 of file quantumscarplotwidget.cpp.

References history_.

Member Data Documentation

◆ history_

const qpe::QuantumScarHistory2D* QuantumScarPlotWidget::history_ = nullptr
private

Definition at line 55 of file quantumscarplotwidget.h.

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


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