Definition at line 48 of file TQCanvasMenu.h.
|
| 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...
|
|
char * | CreateArgumentTitle (TMethodArg *argument) |
| Create string describing argument (for use in dialog box). More...
|
|
char * | CreateDialogTitle (TObject *object, TMethod *method) |
| Create title for dialog box retrieving argument values. More...
|
|
void | Dialog (TObject *obj, TMethod *method) |
| Create dialog object with OK and Cancel buttons. 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...
|
|
#include <TQCanvasMenu.h>
◆ TQCanvasMenu() [1/3]
◆ TQCanvasMenu() [2/3]
TQCanvasMenu::TQCanvasMenu |
( |
QWidget * |
parent = 0 , |
|
|
TCanvas * |
canvas = 0 |
|
) |
| |
◆ TQCanvasMenu() [3/3]
TQCanvasMenu::TQCanvasMenu |
( |
QWidget * |
parent, |
|
|
QWidget * |
tabWin, |
|
|
TCanvas * |
canvas |
|
) |
| |
◆ ~TQCanvasMenu()
TQCanvasMenu::~TQCanvasMenu |
( |
| ) |
|
|
virtual |
◆ CreateArgumentTitle()
char * TQCanvasMenu::CreateArgumentTitle |
( |
TMethodArg * |
argument | ) |
|
Create string describing argument (for use in dialog box).
Definition at line 94 of file TQCanvasMenu.cxx.
◆ CreateDialogTitle()
char * TQCanvasMenu::CreateDialogTitle |
( |
TObject * |
object, |
|
|
TMethod * |
method |
|
) |
| |
Create title for dialog box retrieving argument values.
Definition at line 79 of file TQCanvasMenu.cxx.
◆ Dialog()
Create dialog object with OK and Cancel buttons.
This dialog prompts for the arguments of "method".
Definition at line 184 of file TQCanvasMenu.cxx.
◆ Execute
void TQCanvasMenu::Execute |
( |
int |
id | ) |
|
|
slot |
◆ operator=()
◆ Popup()
void TQCanvasMenu::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).
- Parameters
-
Definition at line 119 of file TQCanvasMenu.cxx.
◆ fc
◆ fCurrObj
◆ fDialog
◆ fMethods
TList TQCanvasMenu::fMethods |
|
protected |
◆ fMousePosX
double TQCanvasMenu::fMousePosX |
|
protected |
◆ fMousePosY
double TQCanvasMenu::fMousePosY |
|
protected |
◆ fParent
QWidget* TQCanvasMenu::fParent |
|
protected |
◆ fPopup
QPopupMenu* TQCanvasMenu::fPopup |
|
protected |
◆ fTabWin
QWidget * TQCanvasMenu::fTabWin |
|
protected |
[legend]