#ifndef SMOOTHPREFERENCES_QO_H
#define SMOOTHPREFERENCES_QO_H
#include <casa/Arrays/Vector.h>
#include <ui/ui_SmoothPreferences.h>
#include <scimath/Mathematics/VectorKernel.h>
class SmoothPreferences : public QDialog
SmoothPreferences(QWidget *parent = 0);
casacore::Vector<float> applySmoothing( casacore::Vector<float> values) const;
QString toString() const;
void smoothingAccepted();
void smoothingRejected();
void smoothingMethodChanged();
casacore::Vector<float> doConvolve( const casacore::Vector<float>& input,
int baseKernelSize, casacore::VectorKernel::KernelTypes kernelType ) const;
Ui::SmoothPreferencesClass ui;
SmoothSpinBox* smoothSpinBox;
const QString SMOOTH_NONE;
const QString SMOOTH_BOXCAR;
const QString SMOOTH_HANNING;
const static QString APPLICATION;
const static QString ORGANIZATION;
const static QString SMOOTH_METHOD;
const static QString SMOOTH_RADIUS;