Definition at line 33 of file TQCanvasMenu.h.
|
| TQCanvasMenu (QWidget *wparent=0, TCanvas *canvas=0) |
| ctor, create the popup menu More...
|
|
| TQCanvasMenu (QWidget *wparent, 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 * |
wparent = 0 , |
|
|
TCanvas * |
canvas = 0 |
|
) |
| |
◆ TQCanvasMenu() [3/3]
TQCanvasMenu::TQCanvasMenu |
( |
QWidget * |
wparent, |
|
|
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 78 of file TQCanvasMenu.cxx.
◆ CreateDialogTitle()
char * TQCanvasMenu::CreateDialogTitle |
( |
TObject * |
object, |
|
|
TMethod * |
method |
|
) |
| |
Create title for dialog box retrieving argument values.
Definition at line 63 of file TQCanvasMenu.cxx.
◆ Dialog()
Create dialog object with OK and Cancel buttons.
This dialog prompts for the arguments of "method".
Definition at line 164 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 103 of file TQCanvasMenu.cxx.
◆ fc
◆ fCurrObj
◆ fDialog
◆ fMenu
QMenu TQCanvasMenu::fMenu |
|
protected |
◆ fMethods
TList TQCanvasMenu::fMethods |
|
protected |
◆ fMousePosX
double TQCanvasMenu::fMousePosX |
|
protected |
◆ fMousePosY
double TQCanvasMenu::fMousePosY |
|
protected |
◆ fParent
QWidget* TQCanvasMenu::fParent |
|
protected |
◆ fTabWin
QWidget * TQCanvasMenu::fTabWin |
|
protected |
[legend]