BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Provides support in Fast Fourier transformation of IntensityDataItem. Contains own model to hold IntensityDataItem with fft-transformed results.
Definition at line 28 of file IntensityDataFFTPresenter.h.
Signals | |
void | fftActionRequest () |
Public Member Functions | |
IntensityDataFFTPresenter (QWidget *parent=nullptr) | |
QList< QAction * > | actionList () |
IntensityDataItem * | fftItem (IntensityDataItem *origItem) |
bool | inFFTMode () const |
void | reset () |
Private Slots | |
void | onFFTActionToggled (bool toggled) |
Private Attributes | |
QAction * | m_fftAction |
IntensityDataItem * | m_fftItem |
SessionModel * | m_fftModel |
bool | m_in_fft_mode |
IntensityDataFFTPresenter::IntensityDataFFTPresenter | ( | QWidget * | parent = nullptr | ) |
Definition at line 24 of file IntensityDataFFTPresenter.cpp.
References SessionModel::insertItem(), m_fftAction, m_fftItem, m_fftModel, and onFFTActionToggled().
QList< QAction * > IntensityDataFFTPresenter::actionList | ( | ) |
Definition at line 59 of file IntensityDataFFTPresenter.cpp.
References m_fftAction.
Referenced by IntensityDataWidget::actionList().
|
signal |
Referenced by IntensityDataWidget::IntensityDataWidget(), and onFFTActionToggled().
IntensityDataItem * IntensityDataFFTPresenter::fftItem | ( | IntensityDataItem * | origItem | ) |
Definition at line 45 of file IntensityDataFFTPresenter.cpp.
References Error, DataItem::getDatafield(), m_fftItem, and IntensityDataItem::setDatafield().
Referenced by IntensityDataWidget::onFFTAction().
bool IntensityDataFFTPresenter::inFFTMode | ( | ) | const |
Definition at line 64 of file IntensityDataFFTPresenter.cpp.
References m_in_fft_mode.
Referenced by IntensityDataWidget::onFFTAction().
|
privateslot |
Definition at line 69 of file IntensityDataFFTPresenter.cpp.
References fftActionRequest(), and m_in_fft_mode.
Referenced by IntensityDataFFTPresenter().
void IntensityDataFFTPresenter::reset | ( | ) |
Definition at line 40 of file IntensityDataFFTPresenter.cpp.
References m_in_fft_mode.
Referenced by IntensityDataWidget::setItem().
|
private |
Definition at line 48 of file IntensityDataFFTPresenter.h.
Referenced by IntensityDataFFTPresenter(), and actionList().
|
private |
Definition at line 50 of file IntensityDataFFTPresenter.h.
Referenced by IntensityDataFFTPresenter(), and fftItem().
|
private |
Definition at line 49 of file IntensityDataFFTPresenter.h.
Referenced by IntensityDataFFTPresenter().
|
private |
Definition at line 51 of file IntensityDataFFTPresenter.h.
Referenced by inFFTMode(), onFFTActionToggled(), and reset().