casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
ResidualHistogramDialog.qo.h
Go to the documentation of this file.
00001 #ifndef RESIDUALHISTOGRAMDIALOG_QO_H
00002 #define RESIDUALHISTOGRAMDIALOG_QO_H
00003 
00004 //# Copyright (C) 1994,1995,1996,1997,1998,1999,2000
00005 //# Associated Universities, Inc. Washington DC, USA.
00006 //#
00007 //# This library is free software; you can redistribute it and/or modify it
00008 //# under the terms of the GNU Library General Public License as published by
00009 //# the Free Software Foundation; either version 2 of the License, or (at your
00010 //# option) any later version.
00011 //#
00012 //# This library is distributed in the hope that it will be useful, but WITHOUT
00013 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00014 //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00015 //# License for more details.
00016 //#
00017 //# You should have received a copy of the GNU Library General Public License
00018 //# along with this library; if not, write to the Free Software Foundation,
00019 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
00020 //#
00021 //# Correspondence concerning AIPS++ should be addressed as follows:
00022 //#        Internet email: aips2-request@nrao.edu.
00023 //#        Postal address: AIPS++ Project Office
00024 //#                        National Radio Astronomy Observatory
00025 //#                        520 Edgemont Road
00026 //#                        Charlottesville, VA 22903-2475 USA
00027 //#
00028 #include <QtGui/QDialog>
00029 #include <display/Fit/ResidualHistogramDialog.ui.h>
00030 #include <casa/aips.h>
00031 #include <casa/BasicSL/String.h>
00032 
00033 namespace casa {
00034 
00035 template <class T> class ImageInterface;
00036 class BinPlotWidget;
00037 
00038 class ResidualHistogramDialog : public QDialog {
00039     Q_OBJECT
00040 
00041 public:
00042     ResidualHistogramDialog(QWidget *parent = 0);
00043     bool setImage( const String& path );
00044     ~ResidualHistogramDialog();
00045 
00046 private:
00047     ResidualHistogramDialog( const ResidualHistogramDialog& other );
00048     ResidualHistogramDialog operator=( const ResidualHistogramDialog& other );
00049     BinPlotWidget* plotWidget;
00050     ImageInterface<Float>* residualImage;
00051     Ui::ResidualHistogramDialogClass ui;
00052 };
00053 }
00054 
00055 #endif // RESIDUALHISTOGRAMDIALOG_QO_H