GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
medianplugin.h
Go to the documentation of this file.
1 /*=========================================================================
2  Author: $Author$ // Author of last commit
3  Version: $Rev$ // Revision of last commit
4  Date: $Date$ // Date of last commit
5 =========================================================================*/
6 
7 /*=========================================================================
8  Authors: The GoFigure Dev. Team.
9  at Megason Lab, Systems biology, Harvard Medical school, 2009
10 
11  Copyright (c) 2009, President and Fellows of Harvard College.
12  All rights reserved.
13 
14  Redistribution and use in source and binary forms, with or without
15  modification, are permitted provided that the following conditions are met:
16 
17  Redistributions of source code must retain the above copyright notice,
18  this list of conditions and the following disclaimer.
19  Redistributions in binary form must reproduce the above copyright notice,
20  this list of conditions and the following disclaimer in the documentation
21  and/or other materials provided with the distribution.
22  Neither the name of the President and Fellows of Harvard College
23  nor the names of its contributors may be used to endorse or promote
24  products derived from this software without specific prior written
25  permission.
26 
27  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
29  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
30  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
31  BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
32  OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
33  OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
34  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
35  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
36  OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
37  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38 
39 =========================================================================*/
40 #ifndef __medianplugin_h
41 #define __medianplugin_h
42 
44 #include "QCellPreprocess.h"
45 
47 {
48  Q_OBJECT
49  Q_INTERFACES(QGoImageFilterPluginBase)
50 public:
51  explicit medianplugin(QObject *iParent = 0x0);
52  virtual ~medianplugin();
53 
54  virtual std::vector< QAction * > Actions();
55 
56  virtual QToolBar * ToolBar();
57 
58  virtual QMenu * Menu();
59 
60  virtual QDockWidget * DockWidget();
61 
62  virtual QWidget * AdditionalWidget();
63 
64  virtual void WriteSettings() {}
65  virtual void ReadSettings() {}
66 
67  virtual void OnTabActivated(const int &) {}
68  virtual void OnTabMoved(const int &, const int &) {}
69  virtual void OnTabClosed(const int &) {}
70 
71  virtual std::list< GoFigure::TabDimensionType > TabElementCompatibility() const;
72 
73 protected:
74  virtual void Process();
75 
76  virtual void SetAllRequiredInformation();
77 
79 private:
81 };
82 
83 #endif
medianplugin(QObject *iParent=0x0)
virtual QToolBar * ToolBar()
virtual void OnTabClosed(const int &)
Definition: medianplugin.h:69
virtual void OnTabMoved(const int &, const int &)
Definition: medianplugin.h:68
virtual QWidget * AdditionalWidget()
QCellPreprocess * preprocess
Definition: medianplugin.h:78
virtual void WriteSettings()
Write Settings for the plugin.
Definition: medianplugin.h:64
virtual QDockWidget * DockWidget()
virtual std::list< GoFigure::TabDimensionType > TabElementCompatibility() const
virtual void ReadSettings()
Read Settings for the plugin.
Definition: medianplugin.h:65
virtual std::vector< QAction * > Actions()
Q_DISABLE_COPY(medianplugin)
virtual void OnTabActivated(const int &)
Definition: medianplugin.h:67
virtual ~medianplugin()
virtual void Process()
virtual QMenu * Menu()
virtual void SetAllRequiredInformation()
Set all required information (name, version, license...).