casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ResidualHistogramDialog.qo.h
Go to the documentation of this file.
1 #ifndef RESIDUALHISTOGRAMDIALOG_QO_H
2 #define RESIDUALHISTOGRAMDIALOG_QO_H
3 
4 //# Copyright (C) 1994,1995,1996,1997,1998,1999,2000
5 //# Associated Universities, Inc. Washington DC, USA.
6 //#
7 //# This library is free software; you can redistribute it and/or modify it
8 //# under the terms of the GNU Library General Public License as published by
9 //# the Free Software Foundation; either version 2 of the License, or (at your
10 //# option) any later version.
11 //#
12 //# This library is distributed in the hope that it will be useful, but WITHOUT
13 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
15 //# License for more details.
16 //#
17 //# You should have received a copy of the GNU Library General Public License
18 //# along with this library; if not, write to the Free Software Foundation,
19 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
20 //#
21 //# Correspondence concerning AIPS++ should be addressed as follows:
22 //# Internet email: aips2-request@nrao.edu.
23 //# Postal address: AIPS++ Project Office
24 //# National Radio Astronomy Observatory
25 //# 520 Edgemont Road
26 //# Charlottesville, VA 22903-2475 USA
27 //#
28 #include <QDialog>
29 #include <display/Fit/ResidualHistogramDialog.ui.h>
30 #include <casa/aips.h>
31 #include <casa/BasicSL/String.h>
33 
34 namespace casacore{
35 
36  template <class T> class ImageInterface;
37 }
38 
39 namespace casa {
40 
41  class BinPlotWidget;
42 
43  class ResidualHistogramDialog : public QDialog {
44  Q_OBJECT
45 
46  public:
47  ResidualHistogramDialog(QWidget *parent = 0);
48  bool setImage( const casacore::String& path );
50 
51  private:
55  std::shared_ptr<const casacore::ImageInterface<float> > residualImage;
56  Ui::ResidualHistogramDialogClass ui;
57  };
58 }
59 
60 #endif // RESIDUALHISTOGRAMDIALOG_QO_H
std::shared_ptr< const casacore::ImageInterface< float > > residualImage
bool setImage(const casacore::String &path)
Ui::ResidualHistogramDialogClass ui
std::string path(const std::string &name)
Display a histogram of intensity vs count.
ResidualHistogramDialog operator=(const ResidualHistogramDialog &other)
String: the storage and methods of handling collections of characters.
Definition: String.h:223
ResidualHistogramDialog(QWidget *parent=0)
#define casacore
&lt;X11/Intrinsic.h&gt; #defines true, false, casacore::Bool, and String.
Definition: X11Intrinsic.h:42