]> Creatis software - cpPlugins.git/blob - appli/examples/plugins/QT/example_MPRViewer/example_MPRViewer.h
dc26a5ec902f43e595a34a8a59290f7b2ad50609
[cpPlugins.git] / appli / examples / plugins / QT / example_MPRViewer / example_MPRViewer.h
1 #ifndef __EXAMPLE_MPRVIEWER__H__
2 #define __EXAMPLE_MPRVIEWER__H__
3
4 #include <QMainWindow>
5 #include <cpPlugins/Interface.h>
6
7 // -------------------------------------------------------------------------
8 namespace Ui
9 {
10   class example_MPRViewer;
11 }
12
13 // -------------------------------------------------------------------------
14 /**
15  */
16 class example_MPRViewer
17   : public QMainWindow
18 {
19   Q_OBJECT;
20
21 public:
22   typedef example_MPRViewer Self;
23   typedef QMainWindow       Superclass;
24
25 public:
26   explicit example_MPRViewer(
27     int argc, char* argv[],
28     QWidget* parent = NULL
29     );
30   virtual ~example_MPRViewer( );
31
32 private:
33   Ui::example_MPRViewer* m_UI;
34   cpPlugins::Interface m_Interface;
35   cpPlugins::ProcessObject::Pointer m_Reader;
36 };
37
38 #endif // __CPEXAMPLE_MPRVIEWER__H__
39
40 // eof - $RCSfile$