QIGUICut.hh

00001 #ifndef _QIGUI_CUT__H_
00002 #define _QIGUI_CUT__H_
00003 #include <QObject>
00004 
00005 #include <TCut.h>
00006 #include <set>
00007 
00008 // QIGUICut
00009 // A TCut. It will be also the base class for QIGUIGraphicCut and QIGUIChannelCut
00010 // Use SetTitle and GetTitle from TCut to assing the cut string
00011 class QIGUICut: public QObject, public TCut
00012 {
00013   Q_OBJECT
00014 
00015   public:
00016     QIGUICut (QObject * parent = 0);
00017     QIGUICut (QString name, QObject * parent= 0);
00018     QIGUICut (QString name, QString title, QObject * parent= 0);
00019     virtual ~QIGUICut();
00020 
00021     virtual void Init();
00022     bool IsNot() {return fNot;}
00023 
00024   public slots:
00025     virtual void ToggleNot(bool no=true) {fNot = no;}
00026 
00027   protected:
00028  
00029     bool fNot; 
00030   
00031     
00032 };
00033 
00034 #endif

Generated on Tue Nov 16 10:49:59 2010 for CUORE Software by  doxygen 1.5.6