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 |
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 |
void | dialog(TObject * obj, TMethod * method) Create a dialog object with OK and Cancel
buttons. |
void | execute(int id) Slot defined to execute a method from a selected TObject
using TObject::Execute() function. |
virtual const QMetaObject * | metaObject() |
void | popup(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 bool | qt_emit(int , QUObject * ) |
virtual bool | qt_invoke(int , QUObject * ) |
virtual bool | qt_property(int , int , QVariant * ) |
static QMetaObject * | staticMetaObject() |
static QString | tr(const char * , const char * ) |
static QString | trUtf8(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 |
TQCanvasMenu
public TQCanvasMenu(QWidget * parent, TCanvas * canvas)
TQCanvasMenu
public TQCanvasMenu(QWidget * parent, QWidget * tabWin, TCanvas * canvas)
~TQCanvasMenu
public ~TQCanvasMenu()
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 * )
to Class TObject
to Class QPopupMenu
to Class TList
to Class TCanvas
to Class TQRootDialog
to Class QWidget