Class TQCanvasMenu


class TQCanvasMenu
derived from QObject


Fields inherited from class Qt
color0, color1, black, white, darkGray, gray, lightGray, red, green, blue, cyan, magenta, yellow, darkRed, darkGreen, darkBlue, darkCyan, darkMagenta, darkYellow, arrowCursor, upArrowCursor, crossCursor, waitCursor, ibeamCursor, sizeVerCursor, sizeHorCursor, sizeBDiagCursor, sizeFDiagCursor, sizeAllCursor, blankCursor, splitVCursor, splitHCursor, pointingHandCursor, forbiddenCursor, whatsThisCursor

Constructor Summary
TQCanvasMenu(QWidget * parent, TCanvas * canvas)
           
TQCanvasMenu(QWidget * parent, QWidget * tabWin, TCanvas * canvas)
           

Destructor Summary
~TQCanvasMenu()
           

Method Summary
 virtual const const char *className()
           
 char *createArgumentTitle(TMethodArg * argument)
          Create string describing argument (for use in dialog box).
 char *createDialogTitle(TObject * object, TMethod * method)
          Create a dialog title
 voiddialog(TObject * obj, TMethod * method)
          Create a dialog object with OK and Cancel buttons.
 voidexecute(int id)
          Slot defined to execute a method from a selected TObject using TObject::Execute() function.
 virtual const QMetaObject *metaObject()
           
 voidpopup(TObject * obj, const QPoint & p)
          Perform the corresponding selected TObject popup in the position defined by the QPoint argument
 QObject *qObject()
           
 virtual void *qt_cast(const char * )
           
 virtual boolqt_emit(int , QUObject * )
           
 virtual boolqt_invoke(int , QUObject * )
           
 virtual boolqt_property(int , int , QVariant * )
           
 static QMetaObject *staticMetaObject()
           
 static QStringtr(const char * , const char * )
           
 static QStringtrUtf8(const char * , const char * )
           

Methods inherited from class QObject
event, eventFilter, isA, inherits, name, name, setName, isWidgetType, highPriority, signalsBlocked, blockSignals, startTimer, killTimer, killTimers, child, children, objectTrees, queryList, insertChild, removeChild, installEventFilter, removeEventFilter, connect, connect, disconnect, disconnect, disconnect, connectInternal, dumpObjectTree, dumpObjectInfo, setProperty, property, parent, deleteLater

Constructor Detail

TQCanvasMenu

public TQCanvasMenu(QWidget * parent, TCanvas * canvas)

TQCanvasMenu

public TQCanvasMenu(QWidget * parent, QWidget * tabWin, TCanvas * canvas)
Method Detail

~TQCanvasMenu

public ~TQCanvasMenu()
Method Detail

className

public virtual const const char * className()

createArgumentTitle

public char * createArgumentTitle(TMethodArg * argument)
Create string describing argument (for use in dialog box).

createDialogTitle

public char * createDialogTitle(TObject * object, TMethod * method)
Create a dialog title

dialog

public void dialog(TObject * obj, TMethod * method)
Create a dialog object with OK and Cancel buttons. This dialog prompts for the arguments of "method"
Parameters:
obj - (TObject*)
method - (TMethod*)

execute

public void execute(int id)
Slot defined to execute a method from a selected TObject using TObject::Execute() function.

metaObject

public virtual const QMetaObject * metaObject()

popup

public void popup(TObject * obj, const QPoint & p)
Perform the corresponding selected TObject popup in the position defined by the QPoint argument
Parameters:
obj - (TObject*)
p - (QPoint&)

qObject

public QObject * qObject()

qt_cast

public virtual void * qt_cast(const char * )

qt_emit

public virtual bool qt_emit(int , QUObject * )

qt_invoke

public virtual bool qt_invoke(int , QUObject * )

qt_property

public virtual bool qt_property(int , int , QVariant * )

staticMetaObject

public static QMetaObject * staticMetaObject()

tr

public static QString tr(const char * , const char * )

trUtf8

public static QString trUtf8(const char * , const char * )

Association Links

to Class TObject

to Class QPopupMenu

to Class TList

to Class TCanvas

to Class TQRootDialog

to Class QWidget