QtiPlot 0.9.7.3
|
Fast Fourier transform options dialog. More...
#include <FFTDialog.h>
Public Types | |
enum | DataType { onGraph = 0, onTable = 1, onMatrix = 2 } |
Public Slots | |
void | accept () |
void | activateCurve (const QString &curveName) |
void | setGraph (Graph *g) |
void | setMatrix (Matrix *m) |
void | setTable (Table *t) |
Public Member Functions | |
FFTDialog (int type, QWidget *parent=0, Qt::WFlags fl=0) | |
Private Member Functions | |
void | fftMatrix () |
Private Attributes | |
QRadioButton * | backwardBtn |
QComboBox * | boxImaginary |
QComboBox * | boxName |
QCheckBox * | boxNormalize |
QCheckBox * | boxOrder |
QComboBox * | boxReal |
DoubleSpinBox * | boxSampling |
QPushButton * | buttonCancel |
QPushButton * | buttonOK |
Matrix * | d_matrix |
Table * | d_table |
int | d_type |
QRadioButton * | forwardBtn |
Graph * | graph |
Fast Fourier transform options dialog.
enum FFTDialog::DataType |
FFTDialog::FFTDialog | ( | int | type, |
QWidget * | parent = 0 , |
||
Qt::WFlags | fl = 0 |
||
) |
References accept(), activateCurve(), backwardBtn, boxImaginary, boxName, boxNormalize, boxOrder, boxReal, boxSampling, buttonCancel, buttonOK, d_matrix, d_table, d_type, forwardBtn, graph, onGraph, onMatrix, onTable, and DoubleSpinBox::setDecimals().
void FFTDialog::accept | ( | ) | [slot] |
References backwardBtn, boxImaginary, boxName, boxNormalize, boxOrder, boxReal, boxSampling, d_table, d_type, fft(), fftMatrix(), graph, FFT::normalizeAmplitudes(), onMatrix, Filter::run(), FFT::setInverseFFT(), FFT::setSampling(), FFT::shiftFrequencies(), and DoubleSpinBox::value().
Referenced by FFTDialog().
void FFTDialog::activateCurve | ( | const QString & | curveName | ) | [slot] |
References boxSampling, Table::cell(), Table::colIndex(), Graph::curve(), d_table, graph, and DoubleSpinBox::setValue().
Referenced by FFTDialog(), and setGraph().
void FFTDialog::fftMatrix | ( | ) | [private] |
References Matrix::allocateMatrixData(), backwardBtn, boxImaginary, boxNormalize, boxReal, Matrix::cell(), d_matrix, fft2d(), fft2d_inv(), Matrix::freeMatrixData(), ApplicationWindow::generateUniqueName(), Matrix::ImageView, ApplicationWindow::matrix(), ApplicationWindow::newMatrix(), Matrix::numCols(), Matrix::numRows(), Matrix::range(), Matrix::setCell(), Matrix::setViewType(), MdiSubWindow::setWindowLabel(), and ApplicationWindow::setWindowName().
Referenced by accept().
void FFTDialog::setGraph | ( | Graph * | g | ) | [slot] |
References activateCurve(), Graph::analysableCurvesList(), boxName, and graph.
Referenced by ApplicationWindow::showFFTDialog().
void FFTDialog::setMatrix | ( | Matrix * | m | ) | [slot] |
References boxImaginary, boxReal, d_matrix, and ApplicationWindow::matrixNames().
Referenced by ApplicationWindow::showFFTDialog().
void FFTDialog::setTable | ( | Table * | t | ) | [slot] |
References boxImaginary, boxName, boxReal, boxSampling, Table::cell(), Table::colIndex(), Table::columnsList(), d_table, Table::firstXCol(), Table::selectedColumns(), and DoubleSpinBox::setValue().
Referenced by ApplicationWindow::showFFTDialog().
QRadioButton * FFTDialog::backwardBtn [private] |
Referenced by accept(), FFTDialog(), and fftMatrix().
QComboBox * FFTDialog::boxImaginary [private] |
Referenced by accept(), FFTDialog(), fftMatrix(), setMatrix(), and setTable().
QComboBox* FFTDialog::boxName [private] |
Referenced by accept(), FFTDialog(), setGraph(), and setTable().
QCheckBox* FFTDialog::boxNormalize [private] |
Referenced by accept(), FFTDialog(), and fftMatrix().
QCheckBox * FFTDialog::boxOrder [private] |
Referenced by accept(), and FFTDialog().
QComboBox * FFTDialog::boxReal [private] |
Referenced by accept(), FFTDialog(), fftMatrix(), setMatrix(), and setTable().
DoubleSpinBox* FFTDialog::boxSampling [private] |
Referenced by accept(), activateCurve(), FFTDialog(), and setTable().
QPushButton* FFTDialog::buttonCancel [private] |
Referenced by FFTDialog().
QPushButton* FFTDialog::buttonOK [private] |
Referenced by FFTDialog().
Matrix* FFTDialog::d_matrix [private] |
Referenced by FFTDialog(), fftMatrix(), and setMatrix().
Table* FFTDialog::d_table [private] |
Referenced by accept(), activateCurve(), FFTDialog(), and setTable().
int FFTDialog::d_type [private] |
Referenced by accept(), and FFTDialog().
QRadioButton* FFTDialog::forwardBtn [private] |
Referenced by FFTDialog().
Graph* FFTDialog::graph [private] |
Referenced by accept(), activateCurve(), FFTDialog(), and setGraph().