Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TQRootDialog Class Reference

TQRootDialog. More...

#include <tqrootdialog.h>

List of all members.

Public Slots

void receive ()
void executeMethod ()

Public Member Functions

 TQRootDialog (QWidget *parent, const char *name, WFlags f=0, TObject *obj=0, TMethod *meth=0)
virtual ~TQRootDialog ()
void add (const char *argname, const char *value, const char *type)
void popup ()
void setTCanvas (TCanvas *aCanvas)
void SetCanMenu (TQCanvasMenu *menu)

Protected Member Functions

void closeEvent (QCloseEvent *ce)

Protected Attributes

QVBox * fArgBox
QPtrList< QLineEdit > aList
TObject * fCurObj
TObject * fPrevObj
TMethod * fCurMethod
TMethod * fPrevMethod
TCanvas * fCurCanvas
QWidget * fParent
TQCanvasMenufMenu


Detailed Description

TQRootDialog.

A TQRootDialog is used to prompt for the arguments of an object's member function. It is called by the TQCanvasMenu class

See also:
TQCanvasMenu, QList, QVBox, TMethod, TCanvas
Authors:
Denis Bertini <d.bertini@gsi.de>
Version:
2.0

Definition at line 54 of file tqrootdialog.h.


Constructor & Destructor Documentation

TQRootDialog::TQRootDialog QWidget *  parent,
const char *  name,
WFlags  f = 0,
TObject *  obj = 0,
TMethod *  meth = 0
 

Definition at line 86 of file tqrootdialog.cpp.

References executeMethod(), fArgBox, fCurMethod, fCurObj, fMenu, fParent, fPrevMethod, and fPrevObj.

TQRootDialog::~TQRootDialog  )  [virtual]
 

Definition at line 121 of file tqrootdialog.cpp.

References aList, and fArgBox.


Member Function Documentation

void TQRootDialog::add const char *  argname,
const char *  value,
const char *  type
 

Definition at line 213 of file tqrootdialog.cpp.

References aList, and fArgBox.

Referenced by TQCanvasMenu::dialog().

void TQRootDialog::popup  ) 
 

Definition at line 230 of file tqrootdialog.cpp.

Referenced by TQCanvasMenu::dialog().

void TQRootDialog::setTCanvas TCanvas *  aCanvas  )  [inline]
 

Definition at line 65 of file tqrootdialog.h.

References fCurCanvas.

Referenced by TQCanvasMenu::dialog().

void TQRootDialog::SetCanMenu TQCanvasMenu menu  )  [inline]
 

Definition at line 66 of file tqrootdialog.h.

References fMenu.

Referenced by TQCanvasMenu::dialog().

void TQRootDialog::receive  )  [slot]
 

Definition at line 127 of file tqrootdialog.cpp.

References executeMethod().

void TQRootDialog::executeMethod  )  [slot]
 

Definition at line 132 of file tqrootdialog.cpp.

References aList, TQCanvasMenu::EmitMenuCommandExecuted(), fCurCanvas, fCurMethod, fCurObj, fMenu, fParent, l, and TRUE.

Referenced by receive(), and TQRootDialog().

void TQRootDialog::closeEvent QCloseEvent *  ce  )  [protected]
 

Definition at line 236 of file tqrootdialog.cpp.


Member Data Documentation

QVBox* TQRootDialog::fArgBox [protected]
 

Definition at line 76 of file tqrootdialog.h.

Referenced by add(), TQRootDialog(), and ~TQRootDialog().

QPtrList<QLineEdit> TQRootDialog::aList [protected]
 

Definition at line 77 of file tqrootdialog.h.

Referenced by add(), executeMethod(), and ~TQRootDialog().

TObject* TQRootDialog::fCurObj [protected]
 

Definition at line 78 of file tqrootdialog.h.

Referenced by executeMethod(), and TQRootDialog().

TObject* TQRootDialog::fPrevObj [protected]
 

Definition at line 79 of file tqrootdialog.h.

Referenced by TQRootDialog().

TMethod* TQRootDialog::fCurMethod [protected]
 

Definition at line 80 of file tqrootdialog.h.

Referenced by executeMethod(), and TQRootDialog().

TMethod* TQRootDialog::fPrevMethod [protected]
 

Definition at line 81 of file tqrootdialog.h.

Referenced by TQRootDialog().

TCanvas* TQRootDialog::fCurCanvas [protected]
 

Definition at line 82 of file tqrootdialog.h.

Referenced by executeMethod(), and setTCanvas().

QWidget* TQRootDialog::fParent [protected]
 

Definition at line 83 of file tqrootdialog.h.

Referenced by executeMethod(), and TQRootDialog().

TQCanvasMenu* TQRootDialog::fMenu [protected]
 

Definition at line 84 of file tqrootdialog.h.

Referenced by executeMethod(), SetCanMenu(), and TQRootDialog().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:01:25 2008 for Go4-v3.04-1 by  doxygen 1.4.2