]> Creatis software - clitk.git/blob - vv/vvToolFooWithWidgetBase.h
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvToolFooWithWidgetBase.h
1 /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to: 
5   - University of LYON              http://www.universite-lyon.fr/
6   - Léon Bérard cancer center       http://www.centreleonberard.fr
7   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
8
9   This software is distributed WITHOUT ANY WARRANTY; without even
10   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11   PURPOSE.  See the copyright notices for more information.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
18 #ifndef VVTOOLFOO_H
19 #define VVTOOLFOO_H
20 #if QT_VERSION >= 0x050000
21 #include <QtUiPlugin/QDesignerExportWidget>
22 #else
23 #include <QtDesigner/QDesignerExportWidget>
24 #endif
25
26 #include "vvToolBase.h"
27 #include "vvToolWidgetBase.h"
28 #include "ui_vvToolFoo.h"
29
30 //------------------------------------------------------------------------------
31 class vvToolFooWithWidgetBase:
32   public vvToolWidgetBase,
33   public vvToolBase<vvToolFooWithWidgetBase>, 
34   private Ui::vvToolFoo
35 {
36   Q_OBJECT
37     public:
38   vvToolFooWithWidgetBase(vvMainWindowBase* parent=0, Qt::WindowFlags f=0);
39   ~vvToolFooWithWidgetBase();
40
41   static void Initialize();
42   virtual void InputIsSelected(vvSlicerManager *m);
43   //  OR ===> virtual void InputIsSelected(std::vector<vvSlicerManager *> & m);
44
45 public slots:
46   virtual void apply();
47
48  protected:
49   Ui::vvToolFoo ui;
50
51 }; // end class vvToolFooWithWidgetBase
52 //------------------------------------------------------------------------------
53
54 #endif
55