ThresholdingBinPlotDialog.qo.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef THRESHOLDINGBINPLOTDIALOG_QO_H_1
00026 #define THRESHOLDINGBINPLOTDIALOG_QO_H_1
00027
00028 #include <display/QtPlotter/ThresholdingBinPlotDialog.ui.h>
00029 #include <casa/aips.h>
00030 #include <casa/Utilities/CountedPtr.h>
00031 #include <utility>
00032 #include <QMainWindow>
00033
00034 namespace casa {
00035
00036 template <class T> class ImageInterface;
00037 class BinPlotWidget;
00038
00039
00040
00041
00042
00043
00044 class ThresholdingBinPlotDialog : public QMainWindow {
00045 Q_OBJECT
00046
00047 public:
00048 ThresholdingBinPlotDialog(QString yAxisUnits, QWidget *parent = 0);
00049 void setImage( const SHARED_PTR<const ImageInterface<Float> > img );
00050 void setInterval( double minValue, double maxValue );
00051 std::pair<double,double> getInterval() const;
00052 ~ThresholdingBinPlotDialog();
00053
00054 signals:
00055 void accepted();
00056
00057 private slots:
00058 void accept();
00059 void postStatusMessage( const QString& warning );
00060
00061 private:
00062 Ui::ThresholdingBinPlotDialogClass ui;
00063 BinPlotWidget* plotWidget;
00064
00065 };
00066
00067
00068
00069
00070 }
00071 #endif // THRESHOLDINGBINPLOTDIALOG_H