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");
47 throw GUIHelpers::Error(
"IntensityDataFFTPresenter::fftItem() -> Error. Empty item.");
49 QApplication::setOverrideCursor(Qt::WaitCursor);
53 QApplication::restoreOverrideCursor();
Defines namespace DataUtils.
Defines class GUIHelpers functions.
Defines class IntensityDataFFTPresenter.
Defines class IntensityDataItem.
Defines class SessionModel.
OutputData< double > * getOutputData()
IntensityDataItem * fftItem(IntensityDataItem *origItem)
IntensityDataFFTPresenter(QWidget *parent=nullptr)
void onFFTActionRequest()
IntensityDataItem * m_fftItem
QList< QAction * > actionList()
SessionModel * m_fftModel
void setOutputData(OutputData< double > *data) override
The given pointer becomes owned by this class!!
T * insertItem(SessionItem *parent=nullptr, int row=-1, QString tag="")
std::unique_ptr< OutputData< double > > createFFT(const OutputData< double > &data)
Creates Fourier Transform (OutputData format) of intensity map (OutputData format).