class TQCanvasMenu: public QObject

Function Members (Methods)

public:
TQCanvasMenu(QWidget* parent = 0, TCanvas* canvas = 0)
TQCanvasMenu(QWidget* parent, QWidget* tabWin, TCanvas* canvas)
virtual~TQCanvasMenu()
static TClass*Class()
char*CreateArgumentTitle(TMethodArg* argument)
char*CreateDialogTitle(TObject* object, TMethod* method)
voidDialog(TObject* obj, TMethod* method)
voidExecute(int id)
virtual TClass*IsA() const
voidPopup(TObject* obj, double x, double y, QMouseEvent* e)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
private:
TQCanvasMenu(const TQCanvasMenu& c)
TQCanvasMenu&operator=(const TQCanvasMenu&)

Data Members

protected:
TObject*fCurrObjcurrent selected object
TQRootDialog*fDialogthe TQRootDialog which is used to prompt for
TListfMethodslist of Root metheds associated with the selected object
doublefMousePosXmouse position in user coordinate
doublefMousePosYmouse position in user coordinate
QWidget*fParent
QPopupMenu*fPopupQt popup menu
QWidget*fTabWinparents widgets
TCanvas*fcpointer to the ROOT canvas

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TQCanvasMenu(QWidget* parent = 0, TCanvas* canvas = 0)
 ctor, create the popup menu
TQCanvasMenu(QWidget* parent, QWidget* tabWin, TCanvas* canvas)
 ctor, create the popup menu
~TQCanvasMenu()
 dtor
char * CreateDialogTitle(TObject* object, TMethod* method)
 Create title for dialog box retrieving argument values.
char * CreateArgumentTitle(TMethodArg* argument)
 Create string describing argument (for use in dialog box).
void Popup(TObject* obj, double x, double y, QMouseEvent* e)
 Perform the corresponding selected TObject  popup
 in the position defined
 by x, y coordinates (in user coordinate system).
 @param obj (TObject*)
 @param p (QPoint&)
void Execute(int id)
 Slot defined to execute a method from a selected TObject
 using TObject::Execute() function.
void Dialog(TObject* obj, TMethod* method)
 Create dialog object with OK and Cancel buttons. This dialog
 prompts for the arguments of "method".
TQCanvasMenu(const TQCanvasMenu& c)
TQCanvasMenu& operator=(const TQCanvasMenu& )
{return *this;}

Author: Denis Bertini, M. AL-Turany 01/11/2000
Last change: root/qtgsi:$Id: TQCanvasMenu.h 20882 2007-11-19 11:31:26Z rdm $
Last generated: 2008-06-25 08:51
Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *

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.