library: libQtGSI
#include "TQCanvasMenu.h"

TQCanvasMenu


class description - header file - source file - inheritance tree (.pdf)

class TQCanvasMenu : public QObject

Inheritance Chart:
QObject
<-
TQCanvasMenu
    private:
TQCanvasMenu(const TQCanvasMenu& c) TQCanvasMenu& operator=(const TQCanvasMenu&) 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) void Dialog(TObject* obj, TMethod* method) void Execute(int id) virtual TClass* IsA() const void Popup(TObject* obj, double x, double y, QMouseEvent* e) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TObject* fCurrObj current selected object QPopupMenu* fPopup Qt popup menu TList fMethods list of Root metheds associated with the selected object TCanvas* fc pointer to the ROOT canvas TQRootDialog* fDialog the TQRootDialog which is used to prompt for QWidget* fParent QWidget* fTabWin parents widgets double fMousePosX mouse position in user coordinate double fMousePosY mouse position in user coordinate

Class Description

TQCanvasMenu(QWidget* parent, TCanvas *canvas)
 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* object, 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&)

Author: Denis Bertini, M. Al-Turany 01/11/2000
Last update: root/qtgsi:$Name: $:$Id: TQCanvasMenu.cxx,v 1.2 2006/04/12 10:07:21 brun Exp $
Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

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.