00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date$ 00006 Version: $Revision$ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 #ifndef _QmitkPlotDialog_H 00019 #define _QmitkPlotDialog_H 00020 00021 #include <qdialog.h> 00022 #include "QmitkExtExports.h" 00023 #include <QmitkPlotWidget.h> 00024 #include "mitkCommon.h" 00025 00048 class QmitkExt_EXPORT QmitkPlotDialog: public QDialog 00049 { 00050 00051 public: 00055 QmitkPlotDialog(const char* title, QWidget* parent = 0, const char* name = 0); 00056 00060 virtual ~QmitkPlotDialog(); 00061 00066 QmitkPlotWidget* GetPlot(); 00067 00072 QwtPlot* GetQwtPlot(); 00073 00074 protected: 00075 00076 QmitkPlotWidget* m_Plot; 00077 00078 QPushButton* m_CloseDialogButton; 00079 }; 00080 00081 #endif 00082