casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SmoothPreferences.qo.h
Go to the documentation of this file.
1 #ifndef SMOOTHPREFERENCES_QO_H
2 #define SMOOTHPREFERENCES_QO_H
3 
4 #include <QDialog>
5 #include <casa/Arrays/Vector.h>
6 #include <display/QtPlotter/SmoothPreferences.ui.h>
8 namespace casa {
9 
10 class SmoothSpinBox;
11 
12 class SmoothPreferences : public QDialog
13 {
14  Q_OBJECT
15 
16 public:
17  SmoothPreferences(QWidget *parent = 0);
19  QString toString() const;
21 
22 signals:
23  void smoothingChanged();
24 
25 private slots:
26  void smoothingAccepted();
27  void smoothingRejected();
29 
30 private:
31  void initialize();
32  void persist();
33  void reset();
35  int baseKernelSize, casacore::VectorKernel::KernelTypes kernelType ) const;
36  Ui::SmoothPreferencesClass ui;
37  QString smoothMethod;
40  const QString SMOOTH_NONE;
41  const QString SMOOTH_BOXCAR;
42  const QString SMOOTH_HANNING;
43  const static QString APPLICATION;
44  const static QString ORGANIZATION;
45  const static QString SMOOTH_METHOD;
46  const static QString SMOOTH_RADIUS;
47 
48 };
49 }
50 #endif // SMOOTHPREFERENCES_QO_H
casacore::Vector< float > applySmoothing(casacore::Vector< float > values) const
static const QString APPLICATION
Adds non-editability to a standard QSpinBox.
Definition: SmoothSpinBox.h:38
static const QString ORGANIZATION
static const QString SMOOTH_RADIUS
QString toString() const
Ui::SmoothPreferencesClass ui
casacore::Vector< float > doConvolve(const casacore::Vector< float > &input, int baseKernelSize, casacore::VectorKernel::KernelTypes kernelType) const
SmoothPreferences(QWidget *parent=0)
static const QString SMOOTH_METHOD