![]() |
ROOT
6.06/08
Reference Guide
|
Definition at line 50 of file TQCanvasMenu.h.
Public Slots | |
| void | Execute (int id) |
| Slot defined to execute a method from a selected TObject using TObject::Execute() function. More... | |
Public Member Functions | |
| TQCanvasMenu (QWidget *parent=0, TCanvas *canvas=0) | |
| ctor, create the popup menu More... | |
| TQCanvasMenu (QWidget *parent, QWidget *tabWin, TCanvas *canvas) | |
| ctor, create the popup menu More... | |
| virtual | ~TQCanvasMenu () |
| dtor More... | |
| 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). More... | |
| void | Dialog (TObject *obj, TMethod *method) |
| Create dialog object with OK and Cancel buttons. More... | |
| char * | CreateDialogTitle (TObject *object, TMethod *method) |
| Create title for dialog box retrieving argument values. More... | |
| char * | CreateArgumentTitle (TMethodArg *argument) |
| Create string describing argument (for use in dialog box). More... | |
Protected Attributes | |
| TObject * | fCurrObj |
| QPopupMenu * | fPopup |
| TList | fMethods |
| TCanvas * | fc |
| TQRootDialog * | fDialog |
| QWidget * | fParent |
| QWidget * | fTabWin |
| double | fMousePosX |
| double | fMousePosY |
Private Member Functions | |
| TQCanvasMenu (const TQCanvasMenu &c) | |
| TQCanvasMenu & | operator= (const TQCanvasMenu &) |
#include <TQCanvasMenu.h>
Inheritance diagram for TQCanvasMenu:
Collaboration diagram for TQCanvasMenu:
|
private |
Referenced by operator=().
| TQCanvasMenu::TQCanvasMenu | ( | QWidget * | parent = 0, |
| TCanvas * | canvas = 0 |
||
| ) |
ctor, create the popup menu
Definition at line 43 of file TQCanvasMenu.cxx.
| TQCanvasMenu::TQCanvasMenu | ( | QWidget * | parent, |
| QWidget * | tabWin, | ||
| TCanvas * | canvas | ||
| ) |
ctor, create the popup menu
Definition at line 57 of file TQCanvasMenu.cxx.
|
virtual |
| char * TQCanvasMenu::CreateArgumentTitle | ( | TMethodArg * | argument | ) |
Create string describing argument (for use in dialog box).
Definition at line 94 of file TQCanvasMenu.cxx.
Referenced by Dialog(), and operator=().
Create title for dialog box retrieving argument values.
Definition at line 79 of file TQCanvasMenu.cxx.
Referenced by Dialog(), and operator=().
Create dialog object with OK and Cancel buttons.
This dialog prompts for the arguments of "method".
Definition at line 184 of file TQCanvasMenu.cxx.
Referenced by Execute(), and operator=().
|
slot |
Slot defined to execute a method from a selected TObject using TObject::Execute() function.
Definition at line 155 of file TQCanvasMenu.cxx.
Referenced by operator=(), and Popup().
|
inlineprivate |
Definition at line 56 of file TQCanvasMenu.h.
Perform the corresponding selected TObject popup in the position defined by x, y coordinates (in user coordinate system).
| obj | (TObject*) |
| p | (QPoint&) |
Definition at line 119 of file TQCanvasMenu.cxx.
Referenced by TQRootCanvas::mousePressEvent(), and operator=().
|
protected |
Definition at line 74 of file TQCanvasMenu.h.
Referenced by Dialog(), Execute(), and TQCanvasMenu().
|
protected |
Definition at line 71 of file TQCanvasMenu.h.
Referenced by Execute(), Popup(), and TQCanvasMenu().
|
protected |
Definition at line 75 of file TQCanvasMenu.h.
Referenced by Dialog(), and TQCanvasMenu().
|
protected |
Definition at line 73 of file TQCanvasMenu.h.
|
protected |
Definition at line 78 of file TQCanvasMenu.h.
Referenced by Execute(), Popup(), and TQCanvasMenu().
|
protected |
Definition at line 79 of file TQCanvasMenu.h.
Referenced by Execute(), Popup(), and TQCanvasMenu().
|
protected |
Definition at line 77 of file TQCanvasMenu.h.
Referenced by Dialog(), and TQCanvasMenu().
|
protected |
Definition at line 72 of file TQCanvasMenu.h.
Referenced by Popup(), TQCanvasMenu(), and ~TQCanvasMenu().
|
protected |
Definition at line 77 of file TQCanvasMenu.h.
Referenced by TQCanvasMenu().