-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new renamed files. This refs #5801
- Loading branch information
1 parent
20d52b7
commit 9a9d9f6
Showing
3 changed files
with
784 additions
and
0 deletions.
There are no files selected for viewing
75 changes: 75 additions & 0 deletions
75
Code/Mantid/MantidQt/RefDetectorViewer/inc/MantidQtRefDetectorViewer/RefImageView.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
#ifndef REF_IMAGE_VIEW_H | ||
#define REF_IMAGE_VIEW_H | ||
|
||
#include <QMainWindow> | ||
#include <QtGui> | ||
|
||
#include "MantidQtRefDetectorViewer/GraphDisplay.h" | ||
#include "MantidQtRefDetectorViewer/ImageDataSource.h" | ||
#include "MantidQtRefDetectorViewer/DllOptionIV.h" | ||
|
||
/** | ||
@class RefImageView | ||
This is the QMainWindow for the ImageView data viewer. Data is | ||
displayed in an ImageView, by constructing the ImageView object and | ||
specifying a particular data source. | ||
@author Dennis Mikkelson | ||
@date 2012-04-03 | ||
Copyright © 2012 ORNL, STFC Rutherford Appleton Laboratories | ||
This file is part of Mantid. | ||
Mantid is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 3 of the License, or | ||
(at your option) any later version. | ||
Mantid is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
Code Documentation is available at | ||
<http://doxygen.mantidproject.org> | ||
*/ | ||
|
||
namespace MantidQt | ||
{ | ||
namespace RefDetectorViewer | ||
{ | ||
|
||
|
||
class EXPORT_OPT_MANTIDQT_IMAGEVIEWER RefImageView : public QMainWindow | ||
{ | ||
public: | ||
|
||
/// Construct an ImageView to display data from the specified data source | ||
RefImageView( ImageDataSource* data_source ); | ||
|
||
~RefImageView(); | ||
|
||
private: | ||
GraphDisplay* h_graph; | ||
GraphDisplay* v_graph; | ||
|
||
// keep void pointers to the following objects, to avoid having to | ||
// include ui_ImageView.h, which disappears by the time MantidPlot is | ||
// being built. We need the pointers so we can delete them in the | ||
// destructor. | ||
void* saved_ui; // Ui_MainWindow* | ||
void* saved_slider_handler; // SliderHandler* | ||
void* saved_range_handler; // RangeHandler* | ||
void* saved_image_display; // RefImageDisplay* | ||
void* saved_iv_connections; // IVConnections* | ||
}; | ||
|
||
} // namespace MantidQt | ||
} // namespace ImageView | ||
|
||
#endif // REF_IMAGE_VIEW_H |
Oops, something went wrong.