16 #include "Device/Data/DataUtils.h"
21 #include <QApplication>
26 , m_fftAction(nullptr)
29 , m_in_fft_mode(false)
34 m_fftAction->setIcon(QIcon(
":/images/alpha-f-box.svg"));
35 m_fftAction->setToolTip(
"Get the Fourier Transform of current intensity map");
48 throw Error(
"IntensityDataFFTPresenter::fftItem() -> Error. Empty item.");
50 QApplication::setOverrideCursor(Qt::WaitCursor);
54 QApplication::restoreOverrideCursor();
Defines class IntensityDataFFTPresenter.
Defines class IntensityDataItem.
Defines class SessionModel.
Datafield * getDatafield()
IntensityDataItem * fftItem(IntensityDataItem *origItem)
IntensityDataFFTPresenter(QWidget *parent=nullptr)
IntensityDataItem * m_fftItem
void onFFTActionToggled(bool toggled)
QList< QAction * > actionList()
SessionModel * m_fftModel
void setDatafield(Datafield *data) override
The given pointer becomes owned by this class!!
Base class for a GUI data collection. A collection is e.g. all real data (RealDataModel)....
T * insertItem(SessionItem *parent=nullptr, int row=-1, QString tag="")