#ifndef ROOT_TQCanvasMenu
#define ROOT_TQCanvasMenu
#ifndef __CINT__
#include "qobject.h"
#endif
#ifndef ROOT_TList
#include "TList.h"
#endif
class TCanvas;
class TObject;
class TMethodArg;
class TQRootDialog;
class QObject;
class QPopupMenu;
class QAction;
class QMouseEvent;
class QResizeEvent;
class QPaintEvent;
class QWidget;
class TQCanvasMenu : public QObject {
#ifndef __CINT__
   Q_OBJECT
#endif
private:
   TQCanvasMenu(const TQCanvasMenu &c);
   TQCanvasMenu& operator=(const TQCanvasMenu&) {return *this;} 
      
public:
   TQCanvasMenu(QWidget* parent = 0, TCanvas *canvas = 0);
   TQCanvasMenu(QWidget* parent, QWidget *tabWin, TCanvas *canvas) ;
   virtual ~TQCanvasMenu();
   void Popup(TObject *obj, double x, double y, QMouseEvent *e);
   void Dialog(TObject *obj, TMethod* method);
   char* CreateDialogTitle( TObject *object, TMethod *method );
   char* CreateArgumentTitle(TMethodArg *argument);
public slots:
   void Execute(int id);
protected:
   TObject* fCurrObj;         
   QPopupMenu  *fPopup;       
   TList fMethods;            
   TCanvas *fc;               
   TQRootDialog *fDialog;     
                              
   QWidget *fParent,*fTabWin; 
   double fMousePosX;         
   double fMousePosY;         
   ClassDef(TQCanvasMenu,1)  
};
   
#endif
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.